Blackhold

Ver el estado de la bateria por comandline

Posted on setembre 23rd, 2016 by admin

laura@carboni:~$ upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"
    state:               discharging
    percentage:          37%
laura@carboni:~$ upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"
    state:               charging
    time to full:        3,0 hours
    percentage:          36%

otra forma

laura@carboni:~$ acpi -V
Battery 0: Charging, 38%, 01:03:31 until charged
Battery 0: design capacity 5266 mAh, last full capacity 4733 mAh = 89%
Adapter 0: on-line
Thermal 0: ok, 53.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 103.0 degrees C
Cooling 0: x86_pkg_temp no state information available
Cooling 1: intel_powerclamp no state information available
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10

This entry was posted on divendres, setembre 23rd, 2016 at 00:06 and is filed under bash. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« »

guy fawkes