In Windows 10 
- 
Open Control Panel.
 - 
Go to -> Power Options -> Under the current selected Power Plan (e.g. Balanced / High Performance ), select Change Power Settings.
 - 
Click Change advanced power settings.
 - 
Under Battery, expand Low Battery level. In On battery, set the value to 10%.
 - 
Under Battery, expand Critical Battery action, In On battery, set it to Shutdown
 - Click Apply and Ok
 
In Mac OSX
- Open Energy Saver Preferences
 - Choose UPS > Shutdown Options...
 - Choose Shut down the computer when the time remaining on the UPS battery is: 1min
 - Choose Shut down the computer when the UPS battery level is below: 3%
 - Choose Done