From 4d0af3b31bda9270037dc18a503305fea1c5710e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 23 Oct 2013 18:00:37 +0200 Subject: linux: Add NoPollBatteries configuration option For system integrators. If your firmware is helpful to user space and automatically sends out uevent when the battery level changes (rather than just the battery state) as on most machines, you can enable "NoPollBatteries" in the configuration option, and reduce power consumption from UPower and its listeners. --- etc/UPower.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'etc') diff --git a/etc/UPower.conf b/etc/UPower.conf index 801f52f..920b256 100644 --- a/etc/UPower.conf +++ b/etc/UPower.conf @@ -26,6 +26,15 @@ EnableWattsUpPro=false # default=false PollDockDevices=false +# Don't poll the kernel for battery level changes. +# +# Some hardware will send us battery level changes through +# events, rather than us having to poll for it. This option +# allows disabling polling for hardware that sends out events. +# +# default=false +NoPollBatteries=false + # Do we ignore the lid state # # Some laptops are broken. The lid state is either inverted, or stuck -- cgit v1.2.1