Nope...because BatteryManager doesn't wait until SleepMenu is loaded.
How about firing a custom event?