aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-05-04 11:06:18 +0800
committerPo Lu2023-05-04 11:06:18 +0800
commitccef1ff072ef0eaac085aeffc7321dcf1fae2f0f (patch)
treef9b9ecb030df121b9f4c1c3c0c5d5e77d78a529b
parent339cdef28e6c78e71b310ade3ffd22333cbb0089 (diff)
downloademacs-ccef1ff072ef0eaac085aeffc7321dcf1fae2f0f.tar.gz
emacs-ccef1ff072ef0eaac085aeffc7321dcf1fae2f0f.zip
Document another misfeature of Android
* doc/emacs/android.texi (Android Environment): Describe how to turn off process killing.
-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