Checking the Battery with acpi

Configurare noua (How To)

Situatie

Solutie

If you have the advanced configuration and power interface package installed you can use it to query the battery and power condition of the laptop. If you don’t have it installed, it’s a small package and installs very quickly.

On Ubuntu, you can install it with this command:

sudo apt install acpi

On Fedora you’ll use:
sudo dnf install acpi

On Manjaro you should type:

sudo pacman -Sy acpi

We’ll use the command with the -a (AC adapter) option and then once more with the -b (battery) option. Finally, we’ll run it with the -b (battery) option and the -i (information) option. This gives a little extra information if any is available.

Tip solutie

Permanent

Voteaza

(7 din 18 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?