You are not logged in.

#1 2016-04-17 16:57:59

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

[SOLVED] Battery indicators no longer work with kernel 4.5

Been away for a while, so forgive me if I've missed something obvious.
Just upgraded my Asus Eee 1015px netbook with 'pacman -Syu', and got linux-4.4.5-1-x86_64.pkg.tar.xz -> linux-4.5-1-x86_64.pkg.tar.xz

However, neither the Conky nor Tint2 battery indicator is responsive now, no matter whether on battery power or whether the AC charger is plugged in. They just keep showing the same, fixed, nonsense figures. Issuing the commands 'acpitool -B' and 'cat /sys/class/power_supply/BAT0/uevent' doesn't show sensible figures either.

Downgrading the kernel makes everything work normally again.

Last edited by ninian (2016-05-10 10:28:39)

Offline

#2 2016-04-18 17:21:20

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Same issue here on a eeePC 1005PX. Found a bugreport on kernel.org: here

It looks like this bug is in kernel 4.6RC3 too.

Offline

#3 2016-04-18 20:58:26

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

skull-y wrote:

Same issue here on a eeePC 1005PX. Found a bugreport on kernel.org: here

It looks like this bug is in kernel 4.6RC3 too.

Thank you for confirming the problem and linking to the bug report!
Many people had looked at the post but I begain to think it was only me who was affected.

Offline

#4 2016-04-19 13:14:17

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I think there are many other users with this problem. In this forum is a topic about a problem with 4.5.1. The fan is running allways on 100%. In the kernel bugtracker I've seen a report about this problem, but I didn't read.

Offline

#5 2016-04-19 22:09:31

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

skull-y wrote:

I think there are many other users with this problem. In this forum is a topic about a problem with 4.5.1. The fan is running allways on 100%. In the kernel bugtracker I've seen a report about this problem, but I didn't read.

Thanks again, for extra info.

Offline

#6 2016-04-20 18:30:12

pepper_chico
Member
Registered: 2016-04-19
Posts: 9

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I've been suffering from this issue lately. I'm on a MacBook Pro (13-inch, Early 2011, MC724LL/A). I get no battery status from Gnome nor from tmux-battery, which all used to work before.

Offline

#7 2016-04-21 06:11:36

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

At the weekend I will create an account for the kernel bugtracker and write a comment in this bugreport.

Offline

#8 2016-04-22 18:12:42

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Kernel 4.5.2-1 from testing has the same bug.

Offline

#9 2016-04-22 18:15:09

pepper_chico
Member
Registered: 2016-04-19
Posts: 9

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I'm on 4.5.1-1

Offline

#10 2016-04-22 23:50:55

synchro92
Member
Registered: 2016-04-22
Posts: 5

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Same issue here. 4.5.1-1 on netbook eeePC 1011px.
So, only solution for now is kernel downgrade?

Thanks

Last edited by synchro92 (2016-04-22 23:55:41)

Offline

#11 2016-04-22 23:52:33

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

synchro92 wrote:

Same here on netbook eeePC 1011px.
So, only solution for now is kernel downgrade?

That's all I've been able to do.

Offline

#12 2016-04-23 00:08:20

synchro92
Member
Registered: 2016-04-22
Posts: 5

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I've followed you. It worked for me as well.
I'll wait for an update here when the bug will be fixed.
Thanks again guys

Offline

#13 2016-04-23 13:33:43

pepper_chico
Member
Registered: 2016-04-19
Posts: 9

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I'm now using the LTS kernel and the issue is gone.

Last edited by pepper_chico (2016-04-23 15:42:56)

Offline

#14 2016-04-23 14:50:53

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

pepper_chico wrote:

I'm not using the LTS kernel and the issue is gone.

Did you've got a special update? Some libs or something else?

Offline

#15 2016-04-23 15:48:14

pepper_chico
Member
Registered: 2016-04-19
Posts: 9

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Sorry, there was a typo, I meant "now using", not "not using"

skull-y wrote:
pepper_chico wrote:

I'm now using the LTS kernel and the issue is gone.

Did you've got a special update? Some libs or something else?

To fix this, no. Just after installing linux-lts and removing linux and rebooting, all
battery detection related stuff started to work again.

In my case, I had to uninstall xf86-video-intel, it's really not needed anymore anyway. I also
had changed from b43-firmware to broadcom-wl-lts to enable back my wifi, which in the end
should be more stable.

Last edited by pepper_chico (2016-04-23 16:33:36)

Offline

#16 2016-04-24 08:35:00

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I've posted a commend in the bugtracker, that there more people with this problem.

Offline

#17 2016-04-29 17:04:04

JohnnyBGods
Member
Registered: 2015-06-28
Posts: 1

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I'm also having this problem with an ASUS 1001px netbook, but not with a more recent MSI laptop.
That's why I thought that maybe the kernel developers had removed "old code".

I'm currently using the last 4.4 arch kernel (4.4.5-1) and it works ok. With both core/4.5.1-1 and testing/4.5.2-1, the info from the battery is wrong.

kernel 4.4:

# grep . /sys/class/power_supply/BAT0/*
/sys/class/power_supply/BAT0/alarm:0
/sys/class/power_supply/BAT0/capacity:55
/sys/class/power_supply/BAT0/capacity_level:Normal
/sys/class/power_supply/BAT0/charge_full:3984000
/sys/class/power_supply/BAT0/charge_full_design:4300000
/sys/class/power_supply/BAT0/charge_now:2210000
/sys/class/power_supply/BAT0/current_now:1148000
/sys/class/power_supply/BAT0/cycle_count:0
grep: /sys/class/power_supply/BAT0/device: Is a directory
/sys/class/power_supply/BAT0/manufacturer:ASUS
/sys/class/power_supply/BAT0/model_name:1001PX
grep: /sys/class/power_supply/BAT0/power: Is a directory
/sys/class/power_supply/BAT0/present:1
/sys/class/power_supply/BAT0/serial_number:
/sys/class/power_supply/BAT0/status:Discharging
grep: /sys/class/power_supply/BAT0/subsystem: Is a directory
/sys/class/power_supply/BAT0/technology:Li-ion
/sys/class/power_supply/BAT0/type:Battery
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_NAME=BAT0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Discharging
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=10693000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CURRENT_NOW=1148000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=4300000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL=3984000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_NOW=2210000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY=55
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY_LEVEL=Normal
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=1001PX
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=ASUS
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER=
/sys/class/power_supply/BAT0/voltage_min_design:10800000
/sys/class/power_supply/BAT0/voltage_now:10693000

kernel 4.5:

# grep . /sys/class/power_supply/BAT0/*
/sys/class/power_supply/BAT0/alarm:0
/sys/class/power_supply/BAT0/capacity:100
/sys/class/power_supply/BAT0/capacity_level:Normal
/sys/class/power_supply/BAT0/charge_full:4200000
/sys/class/power_supply/BAT0/charge_full_design:4300000
/sys/class/power_supply/BAT0/charge_now:4200000
/sys/class/power_supply/BAT0/current_now:1000
/sys/class/power_supply/BAT0/cycle_count:0
grep: /sys/class/power_supply/BAT0/device: Is a directory
/sys/class/power_supply/BAT0/manufacturer:ASUS
/sys/class/power_supply/BAT0/model_name:1001PX
grep: /sys/class/power_supply/BAT0/power: Is a directory
/sys/class/power_supply/BAT0/present:1
/sys/class/power_supply/BAT0/serial_number: 
/sys/class/power_supply/BAT0/status:Discharging
grep: /sys/class/power_supply/BAT0/subsystem: Is a directory
/sys/class/power_supply/BAT0/technology:Li-ion
/sys/class/power_supply/BAT0/type:Battery
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_NAME=BAT0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Discharging
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14032000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=65535000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CURRENT_NOW=1000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=4300000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL=4200000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_NOW=4200000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY=100
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY_LEVEL=Normal
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=1001PX
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=ASUS
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER= 
/sys/class/power_supply/BAT0/voltage_min_design:14032000
/sys/class/power_supply/BAT0/voltage_now:65535000

Don't know if the bug @skull-y mentioned could be the same, since the version mentioned is 4.4.5, which works for me and apparently to the other users complaining (true?).

I searched for the news on the 4.5 release and didn't find anything about old/unmaintained code cleanup on the power management. I hope it's not the case.

Offline

#18 2016-05-09 20:33:14

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Apparently Fedora 23 is showing up the same problem, according to this bug report.
Downgrading kernel again works.

Offline

#19 2016-05-10 10:04:16

Col_Sanders
Member
Registered: 2016-04-30
Posts: 1

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

I was having what I believe to be this issue on a new multiboot install on an ASUS A53U. In Kubuntu 14.04LTS battery indicators were working fine, in a fresh 4/20/16 arch install with kernel 4.5.1-1 (same machine) they were not functional. Was about to post my own debugging info here but the issue was solved for me today with a system upgrade including kernel 4.5.3-1.

Offline

#20 2016-05-10 10:27:59

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Col_Sanders wrote:

the issue was solved for me today with a system upgrade including kernel 4.5.3-1.

I can also confirm that issue on Asus Eee PC 1015px netbooks is solved with 4.5.3-1

Offline

#21 2016-05-14 10:23:26

skull-y
Member
From: Germany/Saxony-Anhalt /Halle
Registered: 2009-01-25
Posts: 29

Re: [SOLVED] Battery indicators no longer work with kernel 4.5

Did not tested 4.5.3-1 yet but I've seen in the kernel bugtracker that there is an existing patch.

Offline

Board footer

Powered by FluxBB