sixths: This should keep power with GPS on

pull/3550/head
Pavel Machek 2024-07-26 17:37:08 +02:00
parent 8d6c4f70ca
commit 23d2766bf1
2 changed files with 2 additions and 12 deletions

View File

@ -73,9 +73,6 @@ Todo:
*) only turn on compass when needed *) only turn on compass when needed
*) only warn about battery low when it crosses thresholds, update
battery low message
*) rename "show" to something else -- it collides with built-in *) rename "show" to something else -- it collides with built-in
*) adjust clock according to GPS *) adjust clock according to GPS
@ -84,16 +81,8 @@ battery low message
*) hide messages after timeout. *) hide messages after timeout.
*) show route lengths after the fact
*) implement longer recording than "G". *) implement longer recording than "G".
*) Probably T should be G.
*) sum gps distances for a day
*) allow setting up home altitude, or at least disable auto-calibration *) allow setting up home altitude, or at least disable auto-calibration
*) show time-to-sunset / sunrise? *) show time-to-sunset / sunrise?
*) one-second updates when gps is active

View File

@ -754,7 +754,8 @@ function lockHandler(locked) {
function queueDraw() { function queueDraw() {
let next; let next;
if (getTime() - last_unlocked > 3*60) if ((getTime() - last_unlocked > 3*60) &&
(getTime() > gps_limit))
next = 60000; next = 60000;
else else
next = 1000; next = 1000;