aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtask/SystemTask.h
diff options
context:
space:
mode:
authorJF <JF002@users.noreply.github.com>2021-10-09 20:11:31 +0200
committerGitHub <noreply@github.com>2021-10-09 20:11:31 +0200
commitb969272c90bfbfa8ae7234809a896ba62411f797 (patch)
tree56e0d4f2af2e5b74d6050d74884a64076cdbdba1 /src/systemtask/SystemTask.h
parentc99feeea312f911e17b133a93c208caa88cb7b03 (diff)
parent1777b9dee8f1189df29f627707b970995f0d4afe (diff)
Merge pull request #719 from Riksu9000/improve_battery_reporting
Improve battery percentage calculation and reporting
Diffstat (limited to 'src/systemtask/SystemTask.h')
-rw-r--r--src/systemtask/SystemTask.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/systemtask/SystemTask.h b/src/systemtask/SystemTask.h
index 1fcfeb8a..879c1be8 100644
--- a/src/systemtask/SystemTask.h
+++ b/src/systemtask/SystemTask.h
@@ -133,14 +133,12 @@ namespace Pinetime {
TimerHandle_t dimTimer;
TimerHandle_t idleTimer;
TimerHandle_t measureBatteryTimer;
- bool sendBatteryNotification = false;
bool doNotGoToSleep = false;
void GoToRunning();
void UpdateMotion();
bool stepCounterMustBeReset = false;
static constexpr TickType_t batteryMeasurementPeriod = pdMS_TO_TICKS(10 * 60 * 1000);
- TickType_t lastBatteryNotificationTime = 0;
#if configUSE_TRACE_FACILITY == 1
SystemMonitor<FreeRtosMonitor> monitor;