Library to interface to the TI BQ27441, a fuel gauge monitor
Fork of battery-gauge-bq27441 by
Diff: bq27441.cpp
- Revision:
- 3:ebd56471d57c
- Parent:
- 2:93310a83401a
- Child:
- 5:63b325f2c21a
diff -r 93310a83401a -r ebd56471d57c bq27441.cpp --- a/bq27441.cpp Tue Apr 11 09:57:10 2017 +0000 +++ b/bq27441.cpp Tue Jun 06 15:58:21 2017 +0100 @@ -730,6 +730,12 @@ return success; } +// Determine whether battery gauging is enabled. +bool BatteryGaugeBq27441::isGaugeEnabled(void) +{ + return gGaugeOn; +} + // Check whether a battery has been detected or not. bool BatteryGaugeBq27441::isBatteryDetected (void) {