Is there a "better" way to get the remaining battery on Linux from the command line than "upower -d | grep percentage"?
@popey upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"
@MatejLach I like that! Needs patching to support multiple batteries though :)
@popey Haven't had to deal with that scenario yet. BTW depending on whether it's an option, neofetch can display battery status pretty nicely, perhaps even multiple-ones.
@popey Just tested the 'acpi' package, that works as well and seems to support multiple batteries. Downside: doesn't come preinstalled, (but is in the repos).
@MatejLach ACPI? Hisssssss