#!/bin/bash echo $(cat /sys/class/power_supply/BAT1/capacity)%