ec
ec copied to clipboard
power: Handle signals in separate functions
Break up power_event into functions for handling each signal.
This reduces complexity of the power_event function itself and brings it down to <100 LoC.