powerHAL: Make it more generic

Remove hardwired values and dynamically work with what's exported by
each device