diff options
Diffstat (limited to 'modern/src/common/formatter.js')
-rw-r--r-- | modern/src/common/formatter.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js index 50841e15..9a61b178 100644 --- a/modern/src/common/formatter.js +++ b/modern/src/common/formatter.js @@ -10,6 +10,8 @@ const formatValue = (key, value) => { case 'speed': case 'course': return value.toFixed(1); + case 'batteryLevel': + return value + '%'; default: return value; } |