Is there a "better" way to get the remaining battery on Linux from the command line than "upower -d | grep percentage"?
Conversation
Notices
-
Alan Pope β πΊ π§ π± (popey@mastodon.social)'s status on Sunday, 02-Sep-2018 15:32:15 EDT Alan Pope β πΊ π§ π± -
Matej Δ½ach β (matejlach@social.matej-lach.me)'s status on Sunday, 02-Sep-2018 15:37:18 EDT Matej Δ½ach β @popey upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"
-
Alan Pope β πΊ π§ π± (popey@mastodon.social)'s status on Sunday, 02-Sep-2018 15:38:07 EDT Alan Pope β πΊ π§ π± @MatejLach I like that! Needs patching to support multiple batteries though :)
-
-