I would like to have a means of setting my MacBook Pro (2014 15in, El Cap 10.11.6) to shut down at something like 95% capacity remaining when running on battery power, and that this shutdown will override any save-change dialogs and, if necessary, force quit all open Apps to ensure a successful shutdown (even if that means losing any changes to unsaved documents). Preferably, there would be an easy means of toggling this setting on/off so when I intentionally use the system on battery power it is easy to disable this.
(side note - why would I want to do this? - My MBP is connected to a Thunderbolt hub and about 7+ external drives at any given time, some of which are SSDs that lack true PLP. All of these drives and the hub are now connected to a UPS [APC BR1000G, if it matters]. The Maker of this UPS does not have [current] Mac-compatible software. If the power goes out while I am away or asleep, the UPS will run out of battery power long before the MBP will, and this will result in all of the external drives being improperly ejected - which is exactly what I want to avoid. If I can set the MBP to shut down at 95% capacity, then the MBP will shut down before the UPS runs out of power, safely ejecting the drives, and when the UPS runs out of capacity then the drives are being shut down only after they have been safely ejected, potentially avoiding issues induced by unexpected power loss, especially in regards to SSDs without tPLP. With the changes to power management features in macOS, the UPS option to shutdown is no longer available - it only shows sleep options now, and even when this feature was accessible it did not have an option to force quit all Apps. The apcupsd daemon also doesn't quite meet my needs, hence my seeking of this very specific solution. [I imagine I am not the only one who is interested in a solution like this...???])
What is the best means of accomplishing this?
(side note - why would I want to do this? - My MBP is connected to a Thunderbolt hub and about 7+ external drives at any given time, some of which are SSDs that lack true PLP. All of these drives and the hub are now connected to a UPS [APC BR1000G, if it matters]. The Maker of this UPS does not have [current] Mac-compatible software. If the power goes out while I am away or asleep, the UPS will run out of battery power long before the MBP will, and this will result in all of the external drives being improperly ejected - which is exactly what I want to avoid. If I can set the MBP to shut down at 95% capacity, then the MBP will shut down before the UPS runs out of power, safely ejecting the drives, and when the UPS runs out of capacity then the drives are being shut down only after they have been safely ejected, potentially avoiding issues induced by unexpected power loss, especially in regards to SSDs without tPLP. With the changes to power management features in macOS, the UPS option to shutdown is no longer available - it only shows sleep options now, and even when this feature was accessible it did not have an option to force quit all Apps. The apcupsd daemon also doesn't quite meet my needs, hence my seeking of this very specific solution. [I imagine I am not the only one who is interested in a solution like this...???])
What is the best means of accomplishing this?