Skip to content

Commit 611fa88

Browse files
authored
Fix avgDrainage returning undefined
1 parent 2901c34 commit 611fa88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/smartbatt/module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
return {
113113
batt: batt,
114114
hrsLeft: hrsLeft,
115-
avgDrainage:data.avgDrainage,
115+
avgDrainage:data.avgBattDrainage,
116116
totalHours:data.totalHours,
117-
cycles:data.cycles
117+
cycles:data.totalCycles
118118
};
119119
}
120120

0 commit comments

Comments
 (0)