Automation low battery sensors

This may be helpful: