Only for laptop users

post your
acpi -ib | cut -c 68-70

mine’s 96%

1 Like
acpi -ib | cut -c 68-70
bash: acpi: command not found

Okay what does it do btw?
PS. your profile pic is nice.

Edit: I installed acpi. My output is 100. New laptop. Reading the manpage, looks like it shows battery health info.

Edit2: @AnotherPenguin Just to get an idea of battery decay speed, may I please ask how old is your laptop battery? And do you use your laptop on battery or on AC? I use on AC source.

93% on a 18 month old Asus ROG Strix 3.

1 Like

acpi -ib | cut -c 68-70

79%

mine sais 100% on a two years old Dell Inspiron.

1 Like
$ acpi -ib | cut -c 68-70
99%

:frowning:

An almost 4 months old Lenovo Yoga Slim 7 14ARE05. Used intermittently on AC/DC.

My 10 years old laptop, original battery:

$ acpi -ib | grep capacity | awk '{print $NF}'
72%

2021-01-05_13-44
Frankensteen T60 last IBM Thinkpad produced… 2006

2 Likes

Work laptop, because I’m at work right now (gee, doesn’t my job seem rough?)

image

$ acpi -ib | cut -c 68-70
94%

After one year of use on AC. I just recently went hardcore battery conserving by limiting charge process to 60%. Would’ve saved some capacity had I set it up like that from the start.

I get 100%, but that’s clearly wrong, because this this old laptop lasts about 10 minutes unless plugged in. It’s an HP ProBook 4540s, with original battery. It’s about 12-13 years old.

frog_thinking_72

1 Like

Might want to research an unknown command first, thén decided whether or not to execute it, to be sure you know what will happen :wink:

4 Likes

That’s always good advice, one should never execute commands one finds on the internet and does not understand. However, in this case, on this forum, if it were a malicious or harmful command, I doubt there would be 10 replies in a thread without someone screaming about it.

4 Likes

acpi -ib is the key here. the rest of the command filters out only the relevant part of the output.
running acpi -ib will give you an summary of the information on the detected battery.

Very true. Consider it more general advice :wink:

Looks like withouth the the -b flag you would get the same result.

man acpi
ACPI(1)                                 General Commands Manual                                 ACPI(1)

NAME
       acpi - Shows battery status and other ACPI information

SYNOPSIS
       acpi [options]

DESCRIPTION
       acpi  Shows information from the /proc or the /sys filesystem, such as battery status or thermal
       information.

OPTIONS
       -b | --battery
                 show battery information
    -a | --ac-adapter
                 show ac adapter information

       -t |  --thermal
                 show thermal information

       -c | --cooling
                 show cooling device information

       -V | --everything
                 show every device, overrides above options

       -s | --show-empty
                 show non-operational devices

       -i | --details
                 show additional details if available:

                 * battery capacity information

                 * temperature trip points

       -f | --fahrenheit
                 use fahrenheit as the temperature unit instead of default celsius

       -k | --kelvin
                 use kelvin as the temperature unit instead of default celsius

       -p | --proc
                 use the old /proc interface, default is the new /sys one

       -d | --directory <dir>
                 path to ACPI info (either /proc/acpi or /sys/class)

       -h | --help
                 display help and exit

       -v | --version
                 output version information and exit

AUTHOR
 Manual page acpi(1) line 1/62 82% (press h for help or q to quit)


Read The Fine Manual ! :wink:

rtfm

PRETTY sure the F doesn’t stand for fine, my army training never said fine… :smiley:

3 Likes

7yr old laptop (although new to me, plus relatively new battery)

2021-01-05_15-36

I guess you need to install acpi first.

Edit:

[ricklinux@eos-kde ~]$ acpi -ib | grep capacity | awk '{print $NF}'
100%

In a FFF, the F could stand for Fine, Fabulous, Fantastic, Formidable …
:cowboy_hat_face:

ps.

FFF

Family-Friendly Forum
:innocent: