On Wednesday 27 February 2013 10:54 AM, Mike Roddewig wrote:
> The battery in my Thinkpad T420 reports an abnormally high alarm level which
> results in laptop-mode-tools disabling the data-loss sensitive features, even
> at 50% battery charge. There is no option to disable this check in the
> configuration file. The offending code starts on line 818. For the time being
> I've commented out the if block (lines 818-830) which fixed the problem.
>
> $ cat /sys/class/power_supply/BAT0/alarm
> 2455000
> $ cat /sys/class/power_supply/BAT0/charge_full
> 4911000
Yup!!! Maybe we should have that configurable. It was done with the
assumption that the report we get from underneath is always correct.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to