Laptop Battery drains insanely Fast!
Ian Smith
smithi at nimnet.asn.au
Thu Feb 12 16:15:25 UTC 2015
On Thu, 12 Feb 2015 17:36:00 +0200, george ember wrote:
> Ok. I will try to write them more clear [?]
>
> My $ *sudo kldstat -v | grep ibm*
>
> 2 1 0xffffffff81956000 7808 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 1 acpi/acpi_ibm
But sysctl dev.acpi_ibm still says nothing? Weird. Anybody have a clue?
Anything in /var/log/meesages about any failure regarding acpi_ibm?
> PS: My battery still dropping too fast. The last five minutes dropped
> from 37% to 33% and is just open doing nothing!
So now you can report battery state, power used, time remaining etc.
If you let it fully discharge the battery then fully charge it up, it
should recalibrate the chip inside the battery that calculates usage and
reports state. I did that recently and recovered about 5% that had been
'lost' after months on AC. Before that it had run for nearly 40 minutes
from a reported (and unchanging) "5%" which was clearly not really the
case, before hitting 3% then counting down properly until discharged.
You could try running your ./stat script (or relevant portions) every
minute (for example) to a file while [dis]charging, maybe like this:
#!/bin/sh
sleep=60
outfile=/path/to/somefile
while true; do
/path/to/stat >> "$outfile" # any user can run this
echo "" # or some cute delimiter
sleep $sleep
done
Then watch it if desired by '% tail -f /path/to/somefile'
Of course you will see power use and load average change and perhaps
proportion of C2/C3 states change as you do things to make it busy ..
cheers, Ian
More information about the freebsd-acpi
mailing list