You are not logged in.

#1 2014-04-19 19:59:20

scott_fakename
Member
Registered: 2012-08-15
Posts: 92

Battery disappeared after last kernel update [solved]

I'm running arch on a Toshiba satelite, and my desktop environment is xfce4.

Last time I updated the kernel via pacman, after I rebooted I noticed that the power display icon in the corner was gone. So, I did an `ls /proc/acpi` and sure enough, there was nothing related to power in there.

However, I changed the settings on the applet to always display even when no battery is present, and since that time, whenever I start up, for as long as the computer is running it will display the battery level and power status as they were when I first started -- for instance, right now, even though it's been plugged in for an hour, it still says my battery is at a 3% charge and that it will take 1 hour and 47 minutes to finish charging.

This indicates to me that the power information exists but disappears at some point in the boot process after the display has been started, but I can't figure out when.

Any advice on how to track this down and fix it?

Thanks!

solved with update.

Last edited by scott_fakename (2014-05-03 21:56:22)

Offline

#2 2014-04-19 20:15:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Battery disappeared after last kernel update [solved]

Instead of /proc/acpi, you should check /sys/class/power_supply.

Offline

#3 2014-04-20 02:26:17

scott_fakename
Member
Registered: 2012-08-15
Posts: 92

Re: Battery disappeared after last kernel update [solved]

Hmm... Yes, it turns out that exists after all.

All of the files in there seem to have information that makes sense, except for /sys/class/power_supply/BAT0/status, which says "Unknown"

Not sure if this is a problem with that, or if it's a problem with the power applet...

Offline

#4 2014-04-20 03:25:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Battery disappeared after last kernel update [solved]

Well, I think you should go by what is in that directory since that is reporting what the kernel knows. 

As far as the "unknown" status, I would suggest trying the LTS kernel and see if the status fixes itself.  Then at least you can at least attribute the issue to either the kernel or your firmware going wonky.

Offline

#5 2014-04-20 03:45:57

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: Battery disappeared after last kernel update [solved]

It's a upower issue, not the kernel

https://bbs.archlinux.org/viewtopic.php?id=180020

Offline

Board footer

Powered by FluxBB