Re: 2.6.24-rc1 acpi battery driver -> sysfs interface does not update correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again,
I just thought I'd say that this is still occuring with the current
linux-acpi-2.6 git tree on top of Linus' latest.. I don't get
(dis)charge uevents and, oddly, the sysfs charge_now value is
initially wrong on boot-up. For some reason it gives a value of about
half the full charge of the battery (no matter what the true value is)
until I read it a couple of times, at which point it corrects itself.
I attach a few extra details, in case they help.

cat /sys/class/power_supply/BAT1/uevent
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Unknown
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14800000
POWER_SUPPLY_VOLTAGE_NOW=14800000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=4000000
POWER_SUPPLY_CHARGE_FULL=4000000
POWER_SUPPLY_CHARGE_NOW=1960000
POWER_SUPPLY_MODEL_NAME=PABAS005
POWER_SUPPLY_MANUFACTURER=TOSHIBA

One odd thing about this is the TECHNOLOGY field - with the procfs
interface it is reported as lion, not "Unknown". As before, if I any
other info would help, just ask.

Attachment: .config
Description: Binary data


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux