Ensure that battery_charge function is safe to use in themes

Currently, themes that reference battery_charge directly cause an error message:
```
bash: battery_charge: command not found
```
This update allows themes to use battery_charge safely, without the error occuring