Add power hal. backported from p940

Signed-off-by: artas182x <artas182x@gmail.com>