summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)AuthorFilesLines
2014-05-07daemon: Deprecate "IsDocked" propertyBastien Nocera1-8/+0
The IsDocked property has been incorrect for a number of laptops for a while, as it thought that laptops with hybrid graphics cards were always docked. The alternative would have been to use the platform/dock_station devices, but those are only exported for ACPI docking stations. Instead, whether an external display is attached (which isn't really docking) should be checked in the same place where the policy depending on the value should be applied, such as gnome-settings-daemon. https://bugs.freedesktop.org/show_bug.cgi?id=36818
2013-10-26linux: Add NoPollBatteries configuration optionBastien Nocera1-0/+9
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.
2013-10-14daemon: Add CriticalPowerActionBastien Nocera1-0/+12
Paraphrasing from the configuration option: The action to take when "TimeAction" or "PercentageAction" above has been reached for the batteries (UPS or laptop batteries) supplying the computer. This is done 20 seconds after the warning-level variable got set to UP_DEVICE_LEVEL_ACTION has been set, to give the opportunity to front-ends to display a (short) warning. This is only implemented for the Linux backend, using logind.
2013-10-14etc: Add configuration for battery levelsBastien Nocera1-0/+41
2013-10-14etc: Remove now unused configuration optionsBastien Nocera1-24/+1
2013-10-14etc: Disable Watts-Up devices by defaultBastien Nocera1-2/+2
They are few are far between, and users of the device can spare the time to enable this by default. https://bugs.freedesktop.org/show_bug.cgi?id=33846
2012-01-06Add boolean RunPowersaveCommand to UPower.confLandry Breuil1-0/+6
Defaulting to true, it controls whether we want the powersave commands to be run when running on battery/plugging ac. Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-07-19Use git.mk and remove the manual .gitignore filesRichard Hughes1-0/+1
2011-03-28Add a config option 'IgnoreLid' so users with broken / inverted lid switches ↵Richard Hughes1-0/+9
don't suspend at session start
2011-03-14Add a config option 'EnableWattsUpPro' to disable the Watts Up Pro deviceRichard Hughes1-0/+14
Annoyingly, the device used in the Watts Up Pro device seems to be a generic USB->serial adaptor, which means it doesn't have a unique vendor and product ID. If we try to probe for the WUP device, we can actually upset other devices that are not expecing to be probed. This fixes #33846 although we actually still need to be more strict in detecting a true WUP device.
2011-03-03Add an option for polling dock devices in UPower.conf, defaulting to falseRichard Hughes1-0/+9
2010-04-14Add a config file with SleepTimeout and AllowHibernateEncryptedSwap entriesRichard Hughes2-0/+28