[download]

local/bin/battery

   1 #!/bin/bash
   2 
   3 # upower -d
   4 paste -d ' ' /sys/class/power_supply/*/{manufacturer,model_name,capacity*}