Version: 1.3 (using KDE KDE 3.1.2)
Installed from: Gentoo Packages
Compiler: gcc 3.2.3-r1
I have an HP ze1115 which basically had no bios and must use acpi to function properly in linux. For some reason my computer will not return a present rate of change for the battery discharging so klaptop can calculate the number of minutes left, therefore I get the error box shown in the title of this bug. Here is some of my output:
root@laptop ctford0 # cat /proc/acpi/battery/BAT0/info
design capacity: 4016 mAh
last full capacity: 4011 mAh
battery technology: rechargeable
design voltage: 9600 mV
design capacity warning: 602 mAh
design capacity low: 401 mAh
capacity granularity 1: 201 mAh
capacity granularity 2: 3409 mAh
model number: QT07
battery type: LION
OEM info: SANYO
root@laptop ctford0 # cat /proc/acpi/battery/BAT0/state
capacity state: ok
charging state: discharging
present rate: unknown
remaining capacity: 762 mAh
present voltage: 9600 mV
Now I know that I am not the only user who has this problem. Is there anyway that klaptop could be changed so that it calculates the rate on its own? Or perhaps even go on a percentage of battery remaining instead of remaining time for users such as I?
The rate itself would be easy to calculate if it could poll the state file once a minute or something, it could then calculate the rate and I would not see that warning. Also I might be able to use the sleep ablities of klaptop then also.
A fix for this or maybe a hint for a work around would be great.
This still applys to CVS HEAD.
CVS commit by vkrause:
Use -1 instead of 0 as a default value for the remaining battery time.
This will result in falling back to remaining time interpolation based on the
battery percentage if we can't provide useful values e.g. based on the ACPI