Forgotten Command for Battery Status – Can Anyone Help?

0
0
Asked By CuriousCat97 On

I'm losing my mind trying to recall a simple command I used to check my battery status in the CLI. The output was really human-readable and looked like this: [+] BAT0 [84] when charging, [-] BAT0 [84] when draining, and [59] BAT0 [100] when fully charged. It also showed an X or a checkmark next to ADT0 for the power adapter. I remember it was straightforward and designed for user readability rather than for other programs. Does anyone know what command I'm talking about?

4 Answers

Answered By TechyDude150 On

I’m not sure about the exact command you used, but I usually rely on `inxi -B` for a quick battery status check. It gives you information like this:

Battery:
ID-1: BAT0 charge: 57.0 Wh (100.0%) condition: 57.0/60.0 Wh (95.0%)

LostInCommands -

I've tried that one too, but it’s not the command I'm looking for!

Answered By QuerySeeker On

If you think it's a core utility rather than a package, maybe searching through the Arch Linux package repos for "battery" could jog your memory? Sometimes browsing through available packages helps.

Answered By EnergyExpert On

Yeah, `upower` does provide more detailed battery health info, but I remember there was this simpler command that just focused on the charge status without all the extra data.

Answered By PowerPal On

You might want to try `acpi -b`. It shows battery percentage, charging status, and estimated discharge time, but it's not quite the same output you're describing.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.