| 385 | } |
| 386 | |
| 387 | float AXP192::GetBatPower() { |
| 388 | float VoltageLSB = 1.1; |
| 389 | float CurrentLCS = 0.5; |
| 390 | uint32_t ReData = Read24bit(0x70); |
| 391 | return VoltageLSB * CurrentLCS * ReData / 1000.0; |
| 392 | } |
| 393 | |
| 394 | float AXP192::GetBatChargeCurrent() { |
| 395 | float ADCLSB = 0.5; |
nothing calls this directly
no outgoing calls
no test coverage detected