power: Fix locking and reference passing

 * DON'T CRASH!

Change-Id: I13f26259f7fa67e03c114446242037742925ded6
Merge remote-tracking branch 'cm/cm-11.0' into HEAD

Conflicts:
	power/power.c

Change-Id: Iee0aa495e3beda31ae1c08607dba380833ca3ce6