Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2015 03:15:20 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        george ember <sk8harddiefast@gmail.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Laptop Battery drains insanely Fast!
Message-ID:  <20150213024135.D38620@sola.nimnet.asn.au>
In-Reply-To: <CAJ7d6nc302Ovc82R_ewwYY=0mMUpid2R7VchF2YTs_LxH0PhDA@mail.gmail.com>
References:  <CAJ7d6nfh7DrUbFXoEV%2BzRObkEQn0dhuj8EQ8CfJtoKEfrZH=wg@mail.gmail.com> <20150212192344.P38620@sola.nimnet.asn.au> <CAJ7d6nempJR==-2_UdJYFTU1Q1DFz-%2Bh3m4NvRhwcPKLEj6h1Q@mail.gmail.com> <20150213014814.F38620@sola.nimnet.asn.au> <CAJ7d6nc302Ovc82R_ewwYY=0mMUpid2R7VchF2YTs_LxH0PhDA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150213024135.D38620>