Fixed a crash resultant from trying to listen to power-related events before the ready event was emitted on Linux. #40924 (Also in 26, 27, 29)
ready