PowerManager: Don't wake up device when charger is plugged/unplugged (2/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

Patchset 2
- cleanup old code

Change-Id: Iceb685746c4a5a7ea7e393d45d537316db366669