initial msm8960 power HAL implementation

Change-Id: I6189df5182a25a35166fa2b710b516c65da7627a
Signed-off-by: Iliyan Malchev <malchev@google.com>
clean up and pass touch boost on interactive-on

1. Clean up:
-- only open the comm socket with mpdecision on power-HAL init, not on every touch hint call
-- put ALOGE on error cases
-- make LOG_TAG handle PowerHAL, not "Qualcomm PowerHAL"
-- fix up indendation

2. Call touch_boost when interactive mode is enabled.

Bug: 7382919
Change-Id: Ifbafc8d192f5b0dbed570e60b9d9b843c82a0c55
Signed-off-by: Iliyan Malchev <malchev@google.com>
initial powerHAL mod for intellidemand on Nexus 4

Change-Id: I563ef0bb198049f4e283d65946dd36316a39133d
Signed-off-by: faux123 <reioux@gmail.com>
powerHAL: remove touchboost error log spam :p

Change-Id: Id131799a0e24b7cf9c7f102a37b8b5df81517a52
Signed-off-by: faux123 <reioux@gmail.com>
power: simplify PowerHAL operations using sysfs_write instead of posix write()

Change-Id: I3c3ac86291071c2107ab5b09c3d754a33601cdca
Signed-off-by: faux123 <reioux@gmail.com>
power: change sampling_rate_screen_on 80000