health: fake more battery stats

Change-Id: Ic511604c9ed5e5972af34ef0afb120affacd0586
This commit is contained in:
Konsta
2025-02-19 19:44:43 +02:00
parent e5359d2734
commit e942debb44
2 changed files with 52 additions and 3 deletions

View File

@@ -28,7 +28,12 @@ public:
using Health::Health;
virtual ~HealthImpl() {}
ndk::ScopedAStatus getChargeCounterUah(int32_t* out) override;
ndk::ScopedAStatus getCurrentNowMicroamps(int32_t* out) override;
ndk::ScopedAStatus getCurrentAverageMicroamps(int32_t* out) override;
ndk::ScopedAStatus getCapacity(int32_t* out) override;
ndk::ScopedAStatus getChargeStatus(BatteryStatus* out) override;
ndk::ScopedAStatus getBatteryHealthData(BatteryHealthData* out) override;
protected:
void UpdateHealthInfo(HealthInfo* health_info) override;