https://bugzilla.kernel.org/show_bug.cgi?id=33672





--- Comment #18 from Andres Cimmarusti <acimmaru...@gmail.com>  2011-07-07 
15:05:23 ---
Created an attachment (id=64882)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=64882)
acpidump log

(In reply to comment #17)
> From the dmesg, the battery present rate which is returned from the DSDT in 
> the
> Bios is always zero. This is caused by the hardware or bios.
> 
> Please attach the output of acpidump.

I've just attached the acpidump. Now, if it is caused by hardware or bios, are
you saying this can't be fixed in the kernel?

> > I have tested many kernels (logs attached):
> > gnome power manager estimates time remaining on battery correctly for 
> > kernels
> > 2.6.27 and 2.6.28, but starts to fail with 2.6.29.
> It is very strange that gpm can estimates remaining time with the preset rate
> zero.
>           remaining time = remaining capacity / present rate;

Yeah, I understand your reservations, but it does work. In fact I've finally
found a couple of leads as to why it stopped working for me (and many others
whose batteries don't report rates):

https://bugs.freedesktop.org/show_bug.cgi?id=24329

It appears that when the major linux distros switched from hal to udev/upower,
there was some functionality lost. The fix has apparently been released for
upower now:

http://cgit.freedesktop.org/upower/commit/?id=2d8358ae4eea4ecaa103891e660a5cdd4c166f5b

Broadly, it is just a question of sampling the battery state for a couple of
minutes and estimating a rate from there.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to