helper: fix haptic feedback in genPrefFromFiles()

With the generic change we also missed to check wheter
this would generate haptic feedback or not.

This should be moved upwards, to be configurable in the
parent class.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
Version 1.4.1

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
profiles: partially fix incredible long load

If many apps are installed it takes quite a time to gather all
information we need. Too long for my own taste; on a Nexus 4
its a average time of 6.5 seconds for nearly every profile.
Even the sorting will be faster with the second and following
iteration, it can easily lead up to 10 seconds.

Fix this partially by copying the list over to the next
profiles, so they can already use a sorted list.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
shell: fix min/max cpu freq for sure

Keep it simple, stupid. Trying to get the frequency for
offlined cores is pointless at this point of time. The
previous implementation just didn't work. Instead of messing
around with the hotplug driver or other things, we can just
set the freq for all cores to the one we have on cpu0.

Its simple, it works and it won't create overhead because of
expansive su-calls.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
service: create only one thread to handle everything

Previously each 7 seconds android would start a call to start
our service and each time we would have created a new thread.

Instead of stressings androids GC to cleanup the mess, we could
just reuse our previous thread to save a few bits here and there.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>