Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] Battery Status always displayed as 100%

Post Reply
User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

[SOLVED] Battery Status always displayed as 100%

#1

Post by tianlan » Wed Jan 23, 2019 10:48 am

System: Host: eeepc Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0
Desktop: Xfce 4.12.3 Distro: MX-18_x64 Continuum Dec 20 2018
base: Debian GNU/Linux 9 (stretch)
Machine: Type: Laptop System: ASUSTeK product: 1005PX v: x.x serial: <filter>
Mobo: ASUSTeK model: 1001PX v: x.xx serial: <filter> BIOS: American Megatrends
v: 0904 date: 08/12/2010
Battery: ID-1: BAT0 charge: 58.8 Wh condition: 58.8/60.2 Wh (98%) model: ASUS 1001PX
status: Charging
CPU: Topology: Single Core model: Intel Atom N450 bits: 64 type: MT arch: Bonnell rev: A
L2 cache: 512 KiB
flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 6665
Speed: 1000 MHz min/max: 1000/1667 MHz Core speeds (MHz): 1: 1000 2: 1000

When checking the battery power level at the panel or via Xfce Power Manager, the info displays either 'Computer Charging (100%)' or 'ASUS 1001PX Charging (100%)' The actual % is not given and also not the estimated time till the battery is fully charged. Does anyone know the way or a method to display the actual battery status correctly?

9_9
Last edited by tianlan on Tue Jan 29, 2019 3:20 am, edited 2 times in total.

User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#2

Post by tianlan » Sun Jan 27, 2019 9:19 am

Even though the battery is not being charged, the terminal gives the following:
demo@eeepc:~
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: ASUS
model: 1001PX
power supply: yes
updated: Sun 27 Jan 2019 09:14:00 PM CST (62 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 58.9344 Wh
energy-empty: 0 Wh
energy-full: 58.9344 Wh
energy-full-design: 60.3376 Wh
energy-rate: 0.014032 W
voltage: 65.535 V
percentage: 100%
capacity: 97.6744%
technology: lithium-ion
icon-name: 'battery-full-charging-symbolic'

User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#3

Post by tianlan » Sun Jan 27, 2019 9:24 am

Only after a restart the battery status shows discharging:
demo@eeepc:~
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: ASUS
model: 1001PX
power supply: yes
updated: Sun 27 Jan 2019 09:21:13 PM CST (104 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 58.9344 Wh
energy-empty: 0 Wh
energy-full: 58.9344 Wh
energy-full-design: 60.3376 Wh
energy-rate: 0.014032 W
voltage: 65.535 V
percentage: 100%
capacity: 97.6744%
technology: lithium-ion
icon-name: 'battery-full-symbolic'
History (charge):
1548595273 0.000 unknown
History (rate):
1548595273 0.000 unknown

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25344
Joined: Wed Jul 19, 2006 6:13 am

Re: Battery Status always displayed as 100%

#4

Post by Jerry3904 » Sun Jan 27, 2019 9:29 am

I have never seen this problem myself. Here is my info:

Code: Select all

$ inxi -B
Battery:   ID-1: BAT0 charge: 43.0 Wh condition: 51.1/52.7 Wh (97%) 
I use the xfce4-battery-plugin and it works perfectly--I love it b/c it is out of the way underneath the start icon but totally sufficient.

BTW: I wonder if this would help:
Unplug the AC adapter charger from your laptop. Remove the battery from your ASUS laptop (if your battery is irremovable, skip this step). Press and hold down the power button for 60 seconds, then release. Re-plug the AC adapter/power charger to your laptop.
You do not have the required permissions to view the files attached to this post.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Battery Status always displayed as 100%

#5

Post by Stevo » Sun Jan 27, 2019 7:22 pm

We also have a newer xfce4-battery-plugin 1.1.0 in the test repo you can try, and I just finished building 1.1.2.

It looks like we have a few xfce panel plugins in the test repo that really should be tested and moved to main, IMO.

http://mxrepo.com/mx/testrepo/pool/test/x/

User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#6

Post by tianlan » Sun Jan 27, 2019 11:36 pm

I tried the following:
  • Jerry3904's suggestion (in short-did not work)
    Removed battery and power, pressed the power button 60 s, reconnected power without battery, started and the notification gave: 'Computer'. Turned off.
    Inserted the battery, started without power and: 'Computer Discharging 100%'. Turned off.
    Plugged in power, battery in place, started and: 'Computer Charging 100%'. Turned off.
  • Stevo's suggestion (in short-did not work)
    Installed via MX Test Repo:
    battery plugin 1.1.2-1
    power manager 1.6.1-1 /data 1.6.1-1/ plugins 1.6.1-1
    xfce-panel 4.12.1-2
    xfce-sensors plugin 1.3.0-2
    After the processing finished I waited for a minute and: 'Computer Discharging 100%'. Restarted and: 'Computer Discharging 100%'. Turned off..
  • Used an MX18 live USB and: 'Computer Discharging 100%'. Turned off
  • Used an MX17.1 live USB and: 'Computer Discharging (66%, 2 hours 15 minutes)
I see, but what next?

User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#7

Post by tianlan » Sun Jan 27, 2019 11:45 pm

Back on the installed MX18:
$ inxi -B
Battery: ID-1: BAT0 charge: 58.8 Wh condition: 58.8/60.2 Wh (98%)

Actual battery level below 66%

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Battery Status always displayed as 100%

#8

Post by Stevo » Mon Jan 28, 2019 5:57 pm

Can you add the standard Debian 4.9 kernel, using MX Package Installer, and boot to that in the Advanced Options from the GRUB boot menu, to see if that makes any difference...since it seems to be working with the MX 17 kernel?

User avatar
tianlan
Forum Novice
Forum  Novice
Posts: 29
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#9

Post by tianlan » Tue Jan 29, 2019 3:18 am

Following Stevo's suggestion to add the standard Debian 4.9 kernel did the job. Battery Status is now displayed correctly.

To boot by default from the 4.9 kernel I used: 'mx boot options' to 'boot to' 'MX18 with Linux 4.9.08-amd 64'

Thanks to all who were contributing to solve this issue. I'll mark this post as 'solved'

:happy:

Post Reply

Return to “General”