Rewritten reporting of battery capacity.
Turn off devices if battery level is critical.