diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-29 14:49:01 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-02-16 22:05:12 +0000 |
commit | 6b692e961c423c4d13497f6c5466ac230b063265 (patch) | |
tree | b558a067fc41d02541f728eef2a58464173294c0 /doc/guix.texi | |
parent | dcc262672c5a80302c98ea4b54e6d97ed77a3986 (diff) |
services: Improve the upower-configuration record.
Copy the defaults from the upower-service procedure to the
<upower-configuration> record type. This will allow making it the default
value for the upower-service-type, and deprecating the procedure. Export the
field accessors so that the <upower-configuration> record type becomes more
usable.
* gnu/services/desktop.scm (<upower-configuration>): Export it.
(upower-configuration-upower, upower-configuration-watts-up-pro?,
upower-configuration-poll-batteries?, upower-configuration-ignore-lid?,
upower-configuration-use-percentage-for-policy?,
upower-configuration-percentage-low, upower-configuration-percentage-critical,
upower-configuration-percentage-action, upower-configuration-time-low,
upower-configuration-time-critical, upower-configuration-time-action,
upower-configuration-critical-power-action): Add default and export.
Diffstat (limited to 'doc/guix.texi')
0 files changed, 0 insertions, 0 deletions