[ltp] Power drain.
Andreas D. Landmark
linux-thinkpad@linux-thinkpad.org
Mon, 12 Apr 2004 15:40:57 +0200
On Mon, Apr 12, 2004 at 12:12:00PM -0400, Jordi G. March wrote:
>
> Hi,
> if you use ACPI, you can check how many miliWatts/hour remain at:
> /proc/acpi/battery/BAT0/state
> As an example, I've got right now (batt. fully charged) 35070mWh.
> Maybe that way you can check more properly which source is draining
> most.
> Regards,
> Jordi
> El lun, 12-04-2004 a las 05:53, Martin Man escribió:
>
Or if you use APM
cyb97@lillevappen:~$ apt-cache show battery-stats
Package: battery-stats
Priority: extra
Section: admin
Installed-Size: 168
Maintainer: Karl E. Jorgensen <karl@jorgensen.com>
Architecture: i386
Version: 0.3.3-1
Depends: gnuplot (>= 3.7.2), gzip (>= 1.3.2), libapm1 (>= 3.0.2-1.11), libc6 (>= 2.3.1-1)
Recommends: logrotate
Filename: pool/main/b/battery-stats/battery-stats_0.3.3-1_i386.deb
Size: 21728
MD5sum: 65380ae6134c30605e7164b3eb067b76
Description: Collects statistics about charge of laptop batteries
This package will periodically collect statistics about the charge of the
batteries present.
.
It also contains a simple graph utility to show the battery charge/discharge
patterns over time.
.
Note: This requires APM to be enabled and working in your kernel.
--
Andreas D. Landmark / noXtension
If you think the United States has stood still, who built the largest
shopping center in the world?
-- Richard M. Nixon