Allow marking batteries as UPS
Submitted by Bastien Nocera
Assigned to Richard Hughes @hughsient
Description
When the battery is connected to a small embedded device (CHIP, Raspberry Pi Zero), we have no way of knowing whether the battery should be used as:
- a UPS (carry on running until the battery is nearly drained, graceful shutdown)
- a safety battery (immediate graceful shutdown)
- a portable device (act like a laptop)
Most of those are front-ends policies, but the front-ends need to be told which device is a battery or UPS to know which action to take.