services.upower.usePercentageForPolicy

NixOS option

Policy for warnings and action based on battery levels Whether battery percentage based policy should be used. The default is to use the percentage, which should work around broken firmwares. It is also more reliable than the time left (frantically saving all your files is going to use more battery than letting it rest for example).

type: boolean
Default
true
declared in: nixos/modules/services/hardware/upower.nixView source on NixOS/nixpkgs →