idahogaq.blogg.se

Speccy linux
Speccy linux









speccy linux

Want to know whether the AC power is connected or not? Simple! Simply run the following command: $ acpi -a Sample output: Thermal 0: ok, 144.5 degrees F We can view the above output in Fahrenheit using -f flag: $ acpi -t -f Sample output: Thermal 0: ok, 58.5 degrees C Sample output: Battery 0: Discharging, 98%, 01:48:14 remaining To check only the state of the charge of battery. Thermal 0: trip point 0 switches to mode critical at temperature 84.0 degrees CĬooling 1: intel_powerclamp no state information availableĬooling 3: x86_pkg_temp no state information available Sample output: Battery 0: Discharging, 98%, 01:43:14 remainingīattery 0: design capacity 4400 mAh, last full capacity 3013 mAh = 68%īattery 1: Discharging, 0%, rate information unavailable Once acpi installed, run the following command: $ acpi -V

speccy linux

On RHEL, CentOS, Fedora: $ sudo yum install acpi To install acpi on Debian, Ubuntu and its derivatives: $ sudo apt-get install acpi On Arch Linux and its derivatives: $ sudo pacman -S acpi You might need to install acpi command in some Linux distributions. The acpi command shows battery status and other ACPI information in your Linux distribution. $ man upower Method 2 - Using "acpi" command $ upower -i $(upower -e | grep BAT) | grep -color=never -E "state|to\ full|to\ empty|percentage"Īs you see in the above output, my Laptop battery has been fully charged.įor more details, refer man pages. You can also display the status of the battery only by with combination of upower and grep commands as shown below. Upower not just display the battery status, but also the complete details of the installed battery such as model, vendor name, serial no, state, voltage etc. Icon-name: 'battery-full-charged-symbolic' Updated: Tuesday 01 October 2019 12:54:41 PM IST (48 seconds ago) If the above command doesn't work for any reason, try the following command instead: $ upower -i `upower -e | grep 'BAT'` Check Laptop battery status and level using upower commandĪs you see above, my battery is fully-charged now and the battery level is 100%.











Speccy linux