diff options
Diffstat (limited to 'status')
| -rwxr-xr-x | status | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -15,7 +15,7 @@ date=$(date +"%d %B %Y, %A") | |||
| 15 | 15 | ||
| 16 | bat="/sys/class/power_supply/BAT0" | 16 | bat="/sys/class/power_supply/BAT0" |
| 17 | if [ -d $bat ]; then | 17 | if [ -d $bat ]; then |
| 18 | battery="Battery: $(cat $bat/capacity) $(cat $bat/status)" | 18 | battery="Battery: $(cat $bat/capacity)%% $(cat $bat/status)" |
| 19 | else | 19 | else |
| 20 | battery="No battery" | 20 | battery="No battery" |
| 21 | fi | 21 | fi |
