IDLEV7 fix for compatibility with pm port
port pm form cyanogen common msm source

Signed-off-by: futranbg <nhoc_lau_ca@yahoo.com>