Answer the question
In order to leave comments, you need to log in
Script to display laptop battery charge?
The crux of the matter is this. There are 2 batteries in the laptop, how to calculate the total operating time from 2 batteries?
I take information about the charge, state and capacity from the output of the command acpi -bi
. On my system , it acpi -bi
gives the following:
Battery 0: Full, 100%
Battery 0: design capacity 2055 mAh, last full capacity 1833 mAh = 89%
Battery 1: Charging, 87%, 00:41:56 until charged
Battery 1: design capacity 1853 mAh, last full capacity 1701 mAh = 91%
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question