MWM-for-Android icon indicating copy to clipboard operation
MWM-for-Android copied to clipboard

DST

Open sdemills opened this issue 12 years ago • 5 comments

Last night the UK came out of DST. This morning the phone (GS2) is displaying the correct time but the MW is still an hour ahead. What is more, the MW time is 4 mins out (to be clearer, it is in total 56 mins ahead of the phone time). Now I have noticed in the past that when the MW is disconnected and left to run on its own then its internal timekeeping is not very accurate. So my conclusion is that MWM is no longer sending the time to the MW. If I stop the service and start it again then the MW time is updated correctly.

sdemills avatar Oct 28 '12 09:10 sdemills

Yup, my watch didn't get the updated time either. This is related to issue #61 - it seems like automatic RTC updates fail when the phone is sleeping, but work fine when the phone is awake.

Possibly just need to obtain a wakelock whilst updating the watch time?

If you manually change the time on your phone, you should see the watch update too.

benjymous avatar Oct 28 '12 12:10 benjymous

OK. How often do RTC updates take place? IOW if I had waited a bit would it have happened anyway?

On 28 October 2012 12:25, Richard Munn [email protected] wrote:

Yup, my watch didn't get the updated time either. This is related to issue #61 https://github.com/benjymous/MWM-for-Android/issues/61 - it seems like automatic RTC updates fail when the phone is sleeping, but work fine when the phone is awake.

Possibly just need to obtain a wakelock whilst updating the watch time?

If you manually change the time on your phone, you should see the watch update too.

— Reply to this email directly or view it on GitHubhttps://github.com/benjymous/MWM-for-Android/issues/77#issuecomment-9845228.

sdemills avatar Oct 28 '12 14:10 sdemills

It doesn't do it on a schedule, just automatically on connection, and if the time on the phone changes (or at least should do) - I have considered adding a daily time sync, just to make sure it stays right.

benjymous avatar Oct 28 '12 15:10 benjymous

Perhaps another option? - how often to send a time sync

On 28 October 2012 15:04, Richard Munn [email protected] wrote:

It doesn't do it on a schedule, just automatically on connection, and if the time on the phone changes (or at least should do) - I have considered adding a daily time sync, just to make sure it stays right.

— Reply to this email directly or view it on GitHubhttps://github.com/benjymous/MWM-for-Android/issues/77#issuecomment-9846563.

sdemills avatar Oct 29 '12 07:10 sdemills

I notice after the last update that even on service recycle the time now no longer corrects. I have gotten around this at this point by using Tasker to fire, on a schedule, an Intent: android.intent.action.TIME_SET and that has fixed the problem for me.

Ideally, MWM should have an Option to correct the time on a user-defined schedule. For example: I'm using hourly between 7:00-23:00.

sdemills avatar Dec 19 '12 09:12 sdemills