Skip to content

Commit

Permalink
shorten titles of keep.running and keep.presenting in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fohrloop committed Feb 1, 2024
1 parent 81e7298 commit 8b8e4ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 8b8e4ff

Please sign in to comment.