On Wed, Jun 04, 2014 at 11:08:42PM +0200, Johan Svensson wrote:
> I'm trying to migrate from Linux to Openbsd on my laptop (thinkpad x201).
> 
> The first problem that i came across was that the Cpu fanspeed was running
> constantly at 3500RPM.
> After the acpithinkpad.c patch from jcs (and i modified to make it work on
> the openbsd-current(link: http://exclude.se/patch/jcs_mod_by_js.diff)
> 
> Another thing that i noticed is that the battery lifetime is really bad.
> In Linux i get around ~5,5 hours.
> In OpenBSD i get around 2 hours.
> 
> when i ran : sysctl hw.sensors | grep -i consumption.
> the output of the cpu was 6W.
> 
> in Linux it's around 1,5W.
> 
> with: apmd -C and apmd -L it's the same.
> dmesg: http://exclude.se/openbsd/dmesg.txt
> 
> Is there anyway to fix this?
> 
> Regards
> Johan Svensson

I've done some testing on an x201i and it seems the intel_powerclamp driver
("Package Level C-state Idle Injection for Intel CPUs") is responsible for
the difference in battery life. If that Linux driver is blacklisted battery
life drops to about the same levels as on OpenBSD.

Reply via email to