summaryrefslogtreecommitdiff
path: root/location
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2019-04-11 08:33:46 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2019-06-05 08:10:23 +0800
commit2e7c04a82d85a3ddec7a7a024e00f65e1ee0b0c3 (patch)
tree281675ab3a2b61d3f3a9e7a3d8d214e66f5afd3c /location
parent052afd6e47e58c88f00ea353f601592d308cbc72 (diff)
downloadgps-2e7c04a82d85a3ddec7a7a024e00f65e1ee0b0c3.tar.gz
Update SystemStatus with battery info in HealthHAL
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
Diffstat (limited to 'location')
-rw-r--r--location/location_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/location/location_interface.h b/location/location_interface.h
index 80f37c2..fb15bea 100644
--- a/location/location_interface.h
+++ b/location/location_interface.h
@@ -87,6 +87,7 @@ struct GnssInterface {
void (*nfwInit)(const NfwCbInfo& cbInfo);
void (*getPowerStateChanges)(void* powerStateCb);
void (*injectLocationExt)(const GnssLocationInfoNotification &locationInfo);
+ void (*updateBatteryStatus)(bool charging);
};
struct BatchingInterface {