You are not logged in.

#1 2009-05-01 00:35:50

Rvn
Member
From: Austria
Registered: 2009-05-01
Posts: 4

ACPI does not update batterystate on Lenovo S10e

I recently bought my S10e and installed Arch Linux - it worked fine until now, but since some days the ACPI fails to update the battery status. When AC is plugged in, I get

$ acpi
Battery 0: Charging, 0%,  until charged

When the netbook runs on battery it says at the moment

$ acpi
Battery 0: Discharging, 0%, 02:46:32 remaining

So it displays the correct time when discharging, but does not return the correct percentage. That would not be such a big problem, but I'm using xfce4 and its power-manager so I can see (colored wink ) how much time I have left until I suddenly see a black screen... But xfce4-power-manager returns consequently 100% charged.
I looked up the acpi-files in /sys/ and there everything seems to be okay:

$ cat /sys/class/power_supply/BAT0/uevent 
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=0
POWER_SUPPLY_VOLTAGE_NOW=12037000
POWER_SUPPLY_CURRENT_NOW=1857000
POWER_SUPPLY_CHARGE_FULL_DESIGN=0
POWER_SUPPLY_CHARGE_FULL=0
POWER_SUPPLY_CHARGE_NOW=2759000
POWER_SUPPLY_MODEL_NAME=
POWER_SUPPLY_MANUFACTURER=
POWER_SUPPLY_SERIAL_NUMBER=

I don't know if uevent is the right file to observe, but it returns the current values of the battery. Obviously the system knows about the batterystate, but acpi does not. But I know it worked for some time when I installed Arch. I'm using Arch Kernel 2.6.29.1-4. Any ideas what's going wrong here?

Offline

Board footer

Powered by FluxBB