Bring back power_supply changes from stock kernel