[ltp] charging rate
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Thu, 17 Aug 2006 12:03:27 +0300
Hi,
On 8/6/06, Kasper Peeters <kasper.peeters@aei.mpg.de> wrote:
> Under Linux, the charge rate of my 9-cell battery goes down rather
> dramatically towards the end of the charging procedure (as low as
> 2000 mW). This completely confuses the gnome battery charging monitor,
> as it thinks that it will take forever to finish charging. (Don't know
> yet whether this happens with the ultrabay too, since I haven't
> had the machine on yet while it was charging the ultrabay battery).
The just-released tp_smapi 0.29 reports this information directly from
the hardware. Can you give it a try (just look at the following sysfs
files directly) and tell me if the numbers reported by tp_smapi make
more sense?
http://thinkwiki.org/wiki/tp_smapi
https://sourceforge.net/project/showfiles.php?group_id=1212&package_id=171579
0.29 2006-08-17
---------------------
Visible changes:
- Added new sysfs attributes to tp_smapi:
/sys/devices/platform/smapi/BAT0/remaining_percent
/sys/devices/platform/smapi/BAT0/remaining_running_time
/sys/devices/platform/smapi/BAT0/remaining_charging_time
/sys/devices/platform/smapi/BAT0/temperature # milli-Celsius
All of these are read directly from the embedded controller, so they are
more accurate than doing your own computation.
Internal changes:
- tp_smapi: Extended and commented battery attribute show functions.