mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

360K
active users

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"

popey

@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).