power/power.c: fixed derped logic

Change-Id: Iedf49feffe7fdd00b6ad7ac8b30a0e2acac16003