{"push_id":897455350,"size":1,"distinct_size":1,"ref":"refs/heads/cm-13.0","head":"08ca3a1fecb8dfc8f18036dfae79f16335d23cb2","before":"3bb686c014856876fe27ba7b4cd37671186c1d1f","commits":[{"sha":"08ca3a1fecb8dfc8f18036dfae79f16335d23cb2","author":{"email":"7910fb7fffd740ece1bd23d38783c6a42d2cd4ea@gmail.com","name":"Gabriele M"},"message":"Custom PowerHAL implementation\n\nPowerHAL highlights:\n* The CPU governor is always interactive. Governor changes are not\n  expected and permissions are set once on boot.\n* Powersave profile: the CPU frequency is limited 787MHz and the CPU\n  is never boosted on user interaction. This will save power without\n  making the phone unbearably slow.\n* Performance profile: the CPU is constantly boosted.\n* Balanced profile: the CPU is boosted on user interaction.\n  When the screen is turned off, the governor is tuned to lower the\n  power consumption to save power in case of long lasting screen off\n  activities such as music playback.\n* Currently there are no restrictions on the number of active cores.\n\nWith this PowerHAL cpu-boost is not needed, so keep it disabled.\n\nIn addition to that, drop all the properties based profiles and set\nconfig_perf_profile_prop to \"powerhal\" to make the framework send\nhints to PowerHAL when the power profile is changed.\n\nmsm8226-common: PowerHAL: Initialize mutex\n\nSince the mutex is declared as static, this went unnoticed, but mutexes\nshould always be initialized, so do it.\n\nmsm8226-common: PowerHAL: Don't override user selected profiles\n\nSave and restore the last selected profile so that the user preference\nis not lost when transitioning out the low power mode. Also, don't\nactually change the profile if in low power mode, but don't discard\nthe user preference.\n\nmsm8226-common: Refactor PowerHAL\n\nMake the HAL generic by keeping the device dependent configuration\nseparate. This allows to easily add or edit the profiles.\n\nThe HAL should behave exactly as before, except for the fact that now\nthere might be some useless writes when the screen is turned off.\n\nChange-Id: I6bb01a14f0058c59986989568e7766f4203150cc","distinct":true,"url":"https://api.github.com/repos/MSM8930-Samsung/android_device_samsung_expressltexx/commits/08ca3a1fecb8dfc8f18036dfae79f16335d23cb2"}]}