You will probably be using acpi instead of apm.

Install 'powersave' or just type 'acpitool'.

$ powersave -b
Battery: 100 %
AC is online.

$ acpitool 
  Battery #1     : charged, 100.0%, -462:00:00
  AC adapter     : on-line
  Thermal zone 1 : ok, 63 C

$ acpitool -b
  Battery #1     : charged, 100.0%, -462:00:00

--pancake

On Sat, 15 Sep 2007 13:49:17 -0700
Amit <[EMAIL PROTECTED]> wrote:

> Hey guys,
> 
> I've tried modifying the .xinitrc to contain the battery percentage
> level from apm but I cannot seem to get it. What is the proper way to
> do this? I am sure many of you have this on your status bar. Any hints
> or suggestions on how to approach this issue?
> 
> Thanks,
> Amit
> 

Reply via email to