FUNCT add print-battery-state.sh script