Back port JellyBean BatteryService, healthd way will crash system

Change-Id: I30660d2eb12ab2b473cdfb441a1918e430952728