services.upower.percentageCritical

NixOS option

When usePercentageForPolicy is true, the levels at which UPower will consider the battery critical. This will also be used for batteries which don’t have time information such as that of peripherals. If any value (of percentageLow, percentageCritical and percentageAction) is invalid, or not in descending order, the defaults will be used.

type: unsigned integer, meaning >=0
Default
5
declared in: nixos/modules/services/hardware/upower.nixView source on NixOS/nixpkgs →