![]() org/freedesktop/UPower/devices/DisplayDevice org/freedesktop/UPower/devices/battery_BAT0 org/freedesktop/UPower/devices/line_power_AC0 Here's the command with output from my ASUS laptop: $ upower -e This can be done with the UPower -enumerate ( -e) command line flag, which enumerates object paths for devices: To use the UPower command line tool to get information / statistics about your Linux laptop battery, the first thing you need to do is figure out the battery path. It comes with a command line tool (also called upower) that, among others, allows querying the battery history and statistics. UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Get Linux laptop battery information using UPower. You might also like: How To Limit Battery Charging (Set A Charge Threshold) For ASUS Laptops On LinuxĢ. Once installed, to view your battery status and various info simply type battop in a terminal. You can also install battop from AUR on Arch Linux Manjaro, and from source, using cargo. Sudo install battop-* /usr/local/bin/battop Next, use the following command to install it to /usr/local/bin: To install battop, grab the binary from the tool's GitHub releases page, and place it in your home folder. As for the information it can display, this includes charge state, voltage, battery discharging rate, temperature (this didn't work for my laptop though), battery capacity information (current, when full, and full design), time to full / empty, charge cycles count, and more. The tool runs on Linux, macOS, FreeBSD and DragonflyBSD (no Windows support yet) and it supports multiple batteries. Battop, or rust-battop is an interactive viewer similar to top, htop and other such utilities, but for battery information / statistics. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |