Scale throttle outputs by battery level. Fixes #4751

This commit is contained in:
Dennis Shtatnov
2016-11-19 14:55:52 +01:00
committed by Lorenz Meier
parent a94c8d7812
commit a634c14582
7 changed files with 83 additions and 4 deletions
+1
View File
@@ -4,6 +4,7 @@ float32 current_a # Battery current in amperes, -1 if unknown
float32 current_filtered_a # Battery current in amperes, filtered, 0 if unknown
float32 discharged_mah # Discharged amount in mAh, -1 if unknown
float32 remaining # From 1 to 0, -1 if unknown
float32 scale # Power scaling factor with >= 1, or -1 if unknown
int32 cell_count # Number of cells
bool connected # Wether or not a battery is connected
#bool is_powering_off # Power off event imminent indication, false if unknown