From 8b8e4ff967b2e466d196d1f47b5535c5531eaa80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20F=C3=B6hr?= Date: Thu, 1 Feb 2024 18:23:09 +0200 Subject: [PATCH] shorten titles of keep.running and keep.presenting in docs --- docs/source/modes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/modes.md b/docs/source/modes.md index 661d8834..96eabfac 100644 --- a/docs/source/modes.md +++ b/docs/source/modes.md @@ -29,7 +29,7 @@ with keep.running() as m: (keep-running-mode)= -## wakepy.keep.running +## keep.running **Does keep.running prevent manually putting system to sleep?** All the methods, if not otherwise specified, only prevent the *automatic, idle timer timeout based* sleeping, so it is still possible to put system to sleep by selecting Suspend/Sleep from a menu, closing the laptop lid or pressing a power key, for example. One exception is systemd mask method on Linux, which prevents suspend altogether. @@ -44,7 +44,7 @@ with keep.running() as m: | Windows | * | [SetThreadExecutionState](#keep-running-windows-stes) | (keep-presenting-mode)= -## wakepy.keep.presenting +## keep.presenting **Does keep.presenting prevent manually putting system to sleep?** All the methods, if not otherwise specified, only prevent the *automatic, idle timer timeout based* sleeping and screensaver/screenlock, so it is still possible to put system to sleep by selecting Suspend/Sleep from a menu, closing the laptop lid or pressing a power key, for example. It is also possible to manually start the screenlock/screensaver while presenting mode is on.