= 60
[[]]
# Order of actions doesn't matter - they get sorted by percentage at runtime
= 0.5
= "./powersave.sh enable"
# The entire `[action.notify]` section is optional
# Notify of discharging battery when below 80% battery level
[[]]
# `percentage` is required
= 0.8
# `command` is optional
# command = "./powersave.sh enable"
[]
= "Battery discharging"
= "Battery level below $percentage%"
# Below values are optional
# urgency = "Normal"
# icon = "battery-discharging"
# timeout = 2000
# Show persistent notification and run custom command on battery level falling below 25%
[[]]
= 0.25
= "./powersave.sh set-mode agressive"
[]
# `summary` is required if there is an `[action.notify]` section
= "Battery low!"
= "Battery level below $percentage%!"
= "Critical"
= "battery-caution"
# `0` means never time out
= 0