* Wrong remaining capacity of my battery when it is charged
@ 2007-07-29 8:05 Nicolas
2007-07-29 8:49 ` Alexey Starikovskiy
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas @ 2007-07-29 8:05 UTC (permalink / raw)
To: linux-pm
Hello,
I have a problem with the remaining capacity indicator of my battery.
Here is what I read in /proc/acpi/battery/BAT0/info:
design capacity: 79920 mWh
last full capacity: 75000 mWh
I run Linux 2.6.15.
But when the battery is charged, remaining capacity as indicated in
/proc/acpi/battery/BAT0/state is 79920 mWh. When the battery is
charging, remaining capacity slowly rises to 75000 mWh, then jumps to
79920 mWh.
I could not figure out if remaining capacity is computed by the battery
itself, which would mean that there is a little bug in my battery
firmware, or by ACPI, using other informations.
Thanks in advance for explanations!
Nicolas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Wrong remaining capacity of my battery when it is charged
2007-07-29 8:05 Wrong remaining capacity of my battery when it is charged Nicolas
@ 2007-07-29 8:49 ` Alexey Starikovskiy
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Starikovskiy @ 2007-07-29 8:49 UTC (permalink / raw)
To: Nicolas; +Cc: linux-pm
Nicolas wrote:
> Hello,
> I have a problem with the remaining capacity indicator of my battery.
> Here is what I read in /proc/acpi/battery/BAT0/info:
> design capacity: 79920 mWh
> last full capacity: 75000 mWh
> I run Linux 2.6.15.
> But when the battery is charged, remaining capacity as indicated in
> /proc/acpi/battery/BAT0/state is 79920 mWh. When the battery is
> charging, remaining capacity slowly rises to 75000 mWh, then jumps to
> 79920 mWh.
> I could not figure out if remaining capacity is computed by the battery
> itself, which would mean that there is a little bug in my battery
> firmware, or by ACPI, using other informations.
> Thanks in advance for explanations!
> Nicolas
ACPI does not compute anything. Information is supplied by BIOS methods (_BST in DSDT).
_BST could compute something, but it usually just reads registers of embedded controller (battery).
Regards,
Alex.
> _______________________________________________
> linux-pm mailing list
> linux-pm@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/linux-pm
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-29 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 8:05 Wrong remaining capacity of my battery when it is charged Nicolas
2007-07-29 8:49 ` Alexey Starikovskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox