You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for an excellent data field! I was thinking about implementing similar data field as you did and it saved me a lot of time when I discovered yours. It is exactly what I need.
For some long-time activities it is not necessary to update data field every second. I tried to implement some kind of powersaver function - data are calculated only in given intervals. I believe it can prolong battery life a bit. What do you think? I know that the most expensive operation is screen refresh but I didn't find a way how to re-draw screen only in defined intervals. It seems you cannot override every second screen refresh for data fields.
Here is my diff. Fell free to use if you find it useful. I can create pull request if you wish. powersaver.txt
The text was updated successfully, but these errors were encountered:
Thanks okdar,
I agree that it would probably save battery life if we could update at
specific intervals. However, I believe Garmin API force us to update
display every seconds on datafields.
Thanks for sharing the code.
Guillaume
On Sat, Aug 8, 2020 at 3:52 PM okdar ***@***.***> wrote:
Hello Guillaume,
Thank you for an excellent data field! I was thinking about implementing
similar data field as you did and it saved me a lot of time when I
discovered yours. It is exactly what I need.
For some long-time activities it is not necessary to update data field
every second. I tried to implement some kind of powersaver function - data
are calculated only in given intervals. I believe it can prolong battery
life a bit. What do you think? I know that the most expensive operation is
screen refresh but I didn't find a way how to re-draw screen only in
defined intervals. It seems you cannot override every second screen refresh
for data fields.
Here is my diff. Fell free to use if you find it useful. I can create pull
request if you wish.
powersaver.txt
<https://github.com/gcormier9/GRun/files/5046127/powersaver.txt>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADD7U7Z4QAYKTZBJAIBGW53R7WUGDANCNFSM4PYZZPNA>
.
Hello Guillaume,
Thank you for an excellent data field! I was thinking about implementing similar data field as you did and it saved me a lot of time when I discovered yours. It is exactly what I need.
For some long-time activities it is not necessary to update data field every second. I tried to implement some kind of powersaver function - data are calculated only in given intervals. I believe it can prolong battery life a bit. What do you think? I know that the most expensive operation is screen refresh but I didn't find a way how to re-draw screen only in defined intervals. It seems you cannot override every second screen refresh for data fields.
Here is my diff. Fell free to use if you find it useful. I can create pull request if you wish.
powersaver.txt
The text was updated successfully, but these errors were encountered: