[SOLVED] Battery Status always displayed as 100%

Message
Author
User avatar
tianlan
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

[SOLVED] Battery Status always displayed as 100%

#1 Post by tianlan »

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
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#2 Post by tianlan »

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
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#3 Post by tianlan »

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
Administrator
Posts: 21962
Joined: Wed Jul 19, 2006 6:13 am

Re: Battery Status always displayed as 100%

#4 Post by Jerry3904 »

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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12841
Joined: Fri Dec 15, 2006 8:07 pm

Re: Battery Status always displayed as 100%

#5 Post by Stevo »

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
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#6 Post by tianlan »

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
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#7 Post by tianlan »

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
Developer
Posts: 12841
Joined: Fri Dec 15, 2006 8:07 pm

Re: Battery Status always displayed as 100%

#8 Post by Stevo »

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
Posts: 14
Joined: Wed Apr 26, 2017 11:53 pm

Re: Battery Status always displayed as 100%

#9 Post by tianlan »

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:

User avatar
bienieck
Posts: 4
Joined: Sun May 17, 2020 5:33 am

Re: [SOLVED] Battery Status always displayed as 100%

#10 Post by bienieck »

Can someone explain to a noobie how to add standard Debian kernel (or any other) and how to configure GRUB?

$ inxi -F
System: Host: Kernel: 4.19.0-6-686-pae i686 bits: 32 Desktop: Xfce 4.14.2
Distro: MX-19.1_386 patito feo February 15 2020
Machine: Type: Laptop System: ASUSTeK product: 1201NL v: x.x serial: <root required>
Mobo: ASUSTeK model: 1201NL v: x.xx serial: <root required> BIOS: American Megatrends v: 0313 date: 07/29/2010
Battery: ID-1: BAT0 charge: 58.8 Wh condition: 58.8/60.2 Wh (98%)
CPU: Topology: Single Core model: Intel Atom N270 bits: 32 type: MT L2 cache: 512 KiB
Speed: 1542 MHz min/max: 800/1600 MHz Core speeds (MHz): 1: 800 2: 803
Graphics: Device-1: NVIDIA ION VGA [GeForce 9400M] driver: nouveau v: kernel
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: NVAC v: 3.3 Mesa 18.3.6
Audio: Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k4.19.0-6-686-pae
Drives: Local Storage: total: 223.57 GiB used: 5.84 GiB (2.6%)
ID-1: /dev/sda vendor: Kingston model: SA400S37240G size: 223.57 GiB
Partition: ID-1: / size: 217.06 GiB used: 5.84 GiB (2.7%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.00 GiB used: 1024 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 60.0 C mobo: N/A gpu: nouveau temp: 52 C
Fan Speeds (RPM): N/A
Info: Processes: 183 Uptime: 2h 32m Memory: 3.14 GiB used: 967.3 MiB (30.1%) Shell: bash inxi: 3.0.36

Post Reply

Return to “General”