Hmmm. Add also this:

[interface]
exit_on_restart=0

[route]
allow_save_route=1

P.S.
If there can be some influence, here are the commands for:
Spoiler: power section in sys
[power]
battery_warning_limit=20
power_off_mode=1
power_off_timeout=300
powermgm_state=0
skip_resume_process=1
skip_suspend_process=1



One more thing:
whether the application has all the necessary permissions in the system?