[module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge full-at = 99 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT1 adapter = ADP0 ; If an inotify event haven't been reported in this many ; seconds, manually poll for new values. ; ; Needed as a fallback for systems that don't report events ; on sysfs/procfs. ; ; Disable polling by setting the interval to 0. ; ; Default: 5 poll-interval = 2 ; see "man date" for details on how to format the time string ; NOTE: if you want to use syntax tags here you need to use %%{...} ; Default: %H:%M:%S time-format = %H:%M ; Available tags: ; (default) ; ; ; format-charging = format-charging-prefix = "" format-charging-prefix-foreground = ${color.green} format-charging-prefix-background = ${color.background} ; Available tags: ; (default) ; ; ; format-discharging = format-discharging-prefix = "" format-discharging-prefix-foreground = ${color.pink} format-discharging-prefix-background = ${color.background} ; Available tags: ; (default) ; ; format-full = format-full-prefix =  format-full-prefix-foreground = ${color.red} format-full-prefix-background = ${color.background} ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current charge rate in watts) label-charging = " %percentage%%" label-charging-background = ${color.background} ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current discharge rate in watts) label-discharging = " %percentage%%" label-discharging-background = ${color.background} ; Available tokens: ; %percentage% (default) label-full = " Full" label-full-background = ${color.background} ; Only applies if is used ramp-capacity-0 = ramp-capacity-1 = ramp-capacity-2 = ramp-capacity-3 = ramp-capacity-4 = ; Only applies if is used ;bar-capacity-width = 10 ; Only applies if is used animation-charging-0 = animation-charging-1 = ; Framerate in milliseconds animation-charging-framerate = 750 ; Only applies if is used ;;animation-discharging-0 = ${battery.anim0} ;;animation-discharging-1 = ${battery.anim1} ; Framerate in milliseconds ;animation-discharging-framerate = 500