Centos 7 查看电池电量信息

而不像 ubuntu 在 /proc/acpi/battery/BAT 中。 
其中 capacity 参数就是当前电脑的剩余电量的百分比信息了 

原文地址:https://www.cnblogs.com/webnote/p/6078081.html