Quick automator apple script to get a battery allert and show a message window to allert the user when battery falls below critical levels
Create an automator application
Copy paste the code in the batterycheck.applescript file in the appeared window.
Build and test
U can personalize it by changing battery level in the if statements and by changing the sleep time
Enjoy