Battery life indicator?

It's not a python problem this time, the problem is:

Code:
apm: can't open /dev/apm: No such file or directory

The apm(8) command doesn't seem to work on your laptop ...

An alternative might be using sysctl, post the output of:
% sysctl hw.acpi
 
I simply use the Battery widget in KDE4.3.

Also acpiconf -i0 works for me:
Code:
acpiconf -i0
Design capacity:        4860 mAh
Last full capacity:     4733 mAh
Technology:             secondary (rechargeable)
Design voltage:         10800 mV
Capacity (warn):        240 mAh
Capacity (low):         144 mAh
Low/warn granularity:   264 mAh
Warn/full granularity:  3780 mAh
Model number:           GC86508SAT0
Serial number:
Type:                   LION
OEM info:               SANYO
State:                  high
Remaining capacity:     100%
Remaining time:         unknown
Present rate:           0 mA
Voltage:                12417 mV
 
Solution:

1) Time exactly how long from full battery, it takes to become flat.

2) Buy a stopwatch (I found a really cheap one here on ebay for you!)
http://cgi.ebay.co.uk/Chronograph-D...in_0?hash=item4148815260&_trksid=p3286.c0.m14

3) Input into the stopwatch, the time it took from step 1

4) Glue that stopwatch to the side of the screen.

The only slight inconvenience with this method is that you MUST remember to pause the stopwatch when you shutdown the computer.

I was going to say get a stop watch with a slow motion function for when you put the computer in hibernate / suspend but that wont work without acpi / apm anyways :)

I look forward to reading the updated handbook in the acpi problems section.

Hope this helps.
 
@kpedersen, haha, that's funny but also kind of strange ... High tech computer and you need to glue a stopwatch to your screen :-/

Eponasoft said:
ACPI is disabled on my system, so anything involving ACPI will automatically fail.

Right, that explains it then. All battery status indicators will fail for you then ;)
 
kpedersen said:
Solution:

1) Time exactly how long from full battery, it takes to become flat.

2) Buy a stopwatch (I found a really cheap one here on ebay for you!)
http://cgi.ebay.co.uk/Chronograph-D...in_0?hash=item4148815260&_trksid=p3286.c0.m14

3) Input into the stopwatch, the time it took from step 1

4) Glue that stopwatch to the side of the screen.

The only slight inconvenience with this method is that you MUST remember to pause the stopwatch when you shutdown the computer.

I was going to say get a stop watch with a slow motion function for when you put the computer in hibernate / suspend but that wont work without acpi / apm anyways :)

I look forward to reading the updated handbook in the acpi problems section.

Hope this helps.
You know what? As ludicrous and sarcastic as this suggestion is, it's actually the only one that WOULD work. :) And it would probably be accurate to about 5 minutes.

Well, here's hoping that 8.0 fixes the ACPI issue...
 
Back
Top