mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
suspend: increase modem detection delay by 1s
Sometimes it takes just a little bit longer than usual, so this avoids unnecessary modem recovery.
This commit is contained in:
@@ -99,7 +99,7 @@ static void signal_cb(GDBusProxy *proxy,
|
|||||||
take_inhibitor(manager);
|
take_inhibitor(manager);
|
||||||
modem_resume_pre(manager);
|
modem_resume_pre(manager);
|
||||||
manager->modem_state = EG25_STATE_RESUMING;
|
manager->modem_state = EG25_STATE_RESUMING;
|
||||||
manager->suspend_source = g_timeout_add_seconds(8, G_SOURCE_FUNC(check_modem_resume), manager);
|
manager->suspend_source = g_timeout_add_seconds(9, G_SOURCE_FUNC(check_modem_resume), manager);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user