diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java index 1b1191d48e..961c39d01c 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -102,6 +102,15 @@ public class MapInfoWidgetsFactory { if (app.getNavigationService() != null){ AlertDialog.Builder dlg = new AlertDialog.Builder(map); dlg.setTitle(app.getString(R.string.sleep_mode_stop_dialog)); + + //Show currently active wake-up interval + if (vs.value <= 90000) { + String vss = ": " + Integer.toString(vs.value/1000) + "int_seconds"; + } else { + String vss = ": " + Integer.toString(vs.value/1000/60) + "int_minutes"; + } + dlg.setMessage(app.getString(R.string.gps_wake_up_timer) + vss); + dlg.setPositiveButton(app.getString(R.string.keep_navigation_service), null); dlg.setNegativeButton(app.getString(R.string.stop_navigation_service), new DialogInterface.OnClickListener() { @Override