BatteryController: fix plug detect

Change-Id: I30b9e4a46c0fdcfdfaeafaffb9434de1fe1e8144