Subject: bug#643: Battery update

From: Sven Joachim <[email-masked]>
Date: Thu, 07 Aug 2008 21:45:46 +0200

On 2008-08-07 21:28 +0200, Chong Yidong wrote:

> What about (from the shell)
>
>   cat /sys/class/power_supply/BAT0/uevent
>
> ?

No such file or directory, but here's /sys/class/power_supply/BAT1/uevent:

PHYSDEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:2c/PNP0C0A:00
PHYSDEVBUS=acpi
PHYSDEVDRIVER=battery
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=12444000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=4000000
POWER_SUPPLY_CHARGE_FULL=3985000
POWER_SUPPLY_CHARGE_NOW=3985000
POWER_SUPPLY_MODEL_NAME=GC86503SY90 
POWER_SUPPLY_MANUFACTURER=SONY 
POWER_SUPPLY_SERIAL_NUMBER=

Sven