aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/android.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi
index 1f609b4ecb0..f2bcc50df23 100644
--- a/doc/emacs/android.texi
+++ b/doc/emacs/android.texi
@@ -293,6 +293,20 @@ loader. As a result, @code{interrupt-process}, and other related
293functions will work correctly, but using the process ID returned by 293functions will work correctly, but using the process ID returned by
294@code{process-id} for other purposes will not. 294@code{process-id} for other purposes will not.
295 295
296 In addition, Android 12 also terminates subprocesses which are
297consuming CPU while Emacs itself is in the background. The system
298determines which processes are consuming too much CPU in intervals of
299five minutes, and terminates the process that has consumed the most
300CPU time.
301
302 Android 12.1 and Android 13 provide an option to disable this
303behavior; to use it, enable ``USB debugging'' (@pxref{Android
304Startup}) connect the Android system to another computer, and run:
305
306@example
307$ adb shell "settings put global settings_enable_monitor_phantom_procs false"
308@end example
309
296@section Running Emacs in the background 310@section Running Emacs in the background
297@cindex emacs killed, android 311@cindex emacs killed, android
298@cindex emacs in the background, android 312@cindex emacs in the background, android