summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* etc: Document Time* unitpacien2021-09-071-3/+3
|
* build: Remove autotoolsBastien Nocera2021-09-061-7/+0
|
* build: Support building upower with mesonBenjamin Berg2021-09-021-0/+1
|
* etc: Tweak default percentage levelsBastien Nocera2021-07-221-4/+4
| | | | | | | | | | | | | If we want the computer to be able to take useful action about the low battery, we should have a slightly higher "low" percentage level so that power saving made really makes a difference in runtime. Also bump "critical" slightly so that doom isn't quite as near but in the distance nonetheless. The "action" level stays the same, as 1% is too close to some batteries' actual switch off point, eg. the computer might brown out before we see 1%.
* etc: Update IgnoreLid documentationBastien Nocera2015-11-121-2/+3
| | | | | | | It's not used by gnome-settings-daemon any more, logind reads the Lid status itself. https://bugs.freedesktop.org/show_bug.cgi?id=92920
* etc: Change the default low battery policyBastien Nocera2015-11-121-3/+5
| | | | | | | It is now based on the percentage of battery left, rather than the usually unreliable "time left". See configuration file for more details. https://bugs.freedesktop.org/show_bug.cgi?id=92920
* daemon: Deprecate "IsDocked" propertyBastien Nocera2014-05-071-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
* linux: Add NoPollBatteries configuration optionBastien Nocera2013-10-261-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.
* daemon: Add CriticalPowerActionBastien Nocera2013-10-141-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.
* etc: Add configuration for battery levelsBastien Nocera2013-10-141-0/+41
|
* etc: Remove now unused configuration optionsBastien Nocera2013-10-141-24/+1
|
* etc: Disable Watts-Up devices by defaultBastien Nocera2013-10-141-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
* Add boolean RunPowersaveCommand to UPower.confLandry Breuil2012-01-061-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>
* Use git.mk and remove the manual .gitignore filesRichard Hughes2011-07-191-0/+1
|
* Add a config option 'IgnoreLid' so users with broken / inverted lid switches ↵Richard Hughes2011-03-281-0/+9
| | | | don't suspend at session start
* Add a config option 'EnableWattsUpPro' to disable the Watts Up Pro deviceRichard Hughes2011-03-141-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.
* Add an option for polling dock devices in UPower.conf, defaulting to falseRichard Hughes2011-03-031-0/+9
|
* Add a config file with SleepTimeout and AllowHibernateEncryptedSwap entriesRichard Hughes2010-04-142-0/+28