diff options
author | pacien <pacien.trangirard@pacien.net> | 2021-09-03 01:10:09 +0200 |
---|---|---|
committer | pacien <pacien.trangirard@pacien.net> | 2021-09-03 01:10:55 +0200 |
commit | 623ce7e4f27cf4c990241598ff9a19f68f087ebe (patch) | |
tree | 79a14df449b6d945ee043ae7424c46455ed0014b | |
parent | 126362784184c0b341a5297c7cddffb1d2873d9d (diff) | |
download | nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar.gz nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar.bz2 nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar.lz nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar.xz nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.tar.zst nixpkgs-623ce7e4f27cf4c990241598ff9a19f68f087ebe.zip |
nixos/upower: document time* unit
See also: upstream clarification at https://gitlab.freedesktop.org/upower/upower/-/merge_requests/83
-rw-r--r-- | nixos/modules/services/hardware/upower.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/hardware/upower.nix b/nixos/modules/services/hardware/upower.nix index 449810b5315..0a5c8878cbb 100644 --- a/nixos/modules/services/hardware/upower.nix +++ b/nixos/modules/services/hardware/upower.nix @@ -156,8 +156,8 @@ in default = 1200; description = '' When <literal>usePercentageForPolicy</literal> is - <literal>false</literal>, the time remaining at which UPower will - consider the battery low. + <literal>false</literal>, the time remaining in seconds at which + UPower will consider the battery low. If any value (of <literal>timeLow</literal>, <literal>timeCritical</literal> and <literal>timeAction</literal>) is @@ -170,8 +170,8 @@ in default = 300; description = '' When <literal>usePercentageForPolicy</literal> is - <literal>false</literal>, the time remaining at which UPower will - consider the battery critical. + <literal>false</literal>, the time remaining in seconds at which + UPower will consider the battery critical. If any value (of <literal>timeLow</literal>, <literal>timeCritical</literal> and <literal>timeAction</literal>) is @@ -184,8 +184,8 @@ in default = 120; description = '' When <literal>usePercentageForPolicy</literal> is - <literal>false</literal>, the time remaining at which UPower will - take action for the critical battery level. + <literal>false</literal>, the time remaining in seconds at which + UPower will take action for the critical battery level. If any value (of <literal>timeLow</literal>, <literal>timeCritical</literal> and <literal>timeAction</literal>) is |