[Pkg-acpi-devel] Bug#605466: Bug#605466: acpi: Wrong Battery level reported

VALETTE Eric RD-MAPS-REN eric2.valette at orange-ftgroup.com
Tue Nov 30 14:23:00 UTC 2010


On 11/30/2010 03:09 PM, Michael Meskes wrote:
> severity 605466 normal
> thanks
>
>> Severity: grave
>> Justification: causes non-serious data loss
> Please explain this! I cannot imagine why this bug could be grave.
Because all software shutting down the machine based on remaning charge 
will immediately shut down teh PC in emergency mode
>> Battery 0: Unknown, 0%<<<=======
>> Adapter 0: on-line
>> Thermal 0: ok, 44.5 degrees C
>> Thermal 0: trip point 0 switches to mode critical at temperature 107.0 degrees C
>> Cooling 0: Processor 0 of 10
>> Cooling 1: Processor 0 of 10
> Please send me your /sys/class/power_supply directory so I can try to debug the problem.
ls -lR /sys/class/power_supply
/sys/class/power_supply:
total 0
lrwxrwxrwx 1 root root 0 2010-11-30 09:13 AC -> 
../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/AC
lrwxrwxrwx 1 root root 0 2010-11-30 09:13 BAT0 -> 
../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0

ls -lR /sys/devices/LNXSYSTM\:00/LNXSYBUS\:00/PNP0C0A\:00/power_supply/
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/:
total 0
drwxr-xr-x 3 root root 0 2010-11-30 09:13 BAT0

/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0:
total 0
-rw-r--r-- 1 root root 4096 2010-11-30 15:12 alarm
-r--r--r-- 1 root root 4096 2010-11-30 09:21 charge_full
-r--r--r-- 1 root root 4096 2010-11-30 09:21 charge_full_design
-r--r--r-- 1 root root 4096 2010-11-30 09:21 charge_now
-r--r--r-- 1 root root 4096 2010-11-30 09:21 current_now
-r--r--r-- 1 root root 4096 2010-11-30 15:12 cycle_count
lrwxrwxrwx 1 root root    0 2010-11-30 09:21 device -> ../../../PNP0C0A:00
-r--r--r-- 1 root root 4096 2010-11-30 09:21 manufacturer
-r--r--r-- 1 root root 4096 2010-11-30 09:21 model_name
drwxr-xr-x 2 root root    0 2010-11-30 15:12 power
-r--r--r-- 1 root root 4096 2010-11-30 09:21 present
-r--r--r-- 1 root root 4096 2010-11-30 09:21 serial_number
-r--r--r-- 1 root root 4096 2010-11-30 09:21 status
lrwxrwxrwx 1 root root    0 2010-11-30 09:13 subsystem -> 
../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 2010-11-30 09:21 technology
-r--r--r-- 1 root root 4096 2010-11-30 09:21 type
-rw-r--r-- 1 root root 4096 2010-11-30 09:13 uevent
-r--r--r-- 1 root root 4096 2010-11-30 09:21 voltage_min_design
-r--r--r-- 1 root root 4096 2010-11-30 09:21 voltage_now

cat 
/sys/devices/LNXSYSTM\:00/LNXSYBUS\:00/PNP0C0A\:00/power_supply/BAT0/charge*
0
0
5200000


Strange! I have not chnaged my kernel, the PC is docked. Will try a 
reboot or undock to see if something chnage

-- eric



> Michael


-- 
Eric Valette
France Telecom
Recherche&  Developpement
Middleware et Plates-formes Avancées
Architecte Livebox et Set Top Box
tél : (+33) 2 99 12 45 71
mél :<mailto:Eric2.Valette at orange-ftgroup.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20101130/d3bda4ef/attachment.htm>


More information about the Pkg-acpi-devel mailing list