App_create() due to charging

I’ve noticed that my application restarts either while charging or when I remove it from the charger…I haven’t traced it further yet. There may also be a correlation to a timer expiring while charging that utilizes app_control…but I haven’t tried to isolate that yet.

I’ve detected this by capturing the current time upon entry to create_base_gui which is called by app_create. During non-charging events I do know that my timers work as intended with app_control to resume the application.

Is this a normal and expected thing that I should design around or an indication that I’m doing something wonky ?

Hi,
Sorry I don’t understand your problem very clearly. Would you please explain a little more about your application scenario? Generally, application should not restart while charging.