Thanks for the pointer to 'wakelock'.  I looked over the documentation,
and it would appear that I have to recompile Termux ??

I then looked up the permissions for Termux, and found under
'App battery usage' 3 choices:

'Unrestricted' Allow battery usage in background without restrictions.
May use more battery.

'Optimized' Optimize based on your usage. Recommended for
most apps.

'Restricted' Restrict battery usage while in background. App may
not work as expected. Notifications may be delayed.

I saw that the choice chosen for Termux was 'Optimized'.

I'm going to try the 'Unrestricted' option and see if that improves
performance while in Termux.


-----Original Message-----
From: <picolisp@software-lab.de>
Sent: Apr 24, 2023 10:14 AM
To: <picolisp@software-lab.de>
Subject: Re: Turn up the CPU clocks under Android Termux ??

On Mon, Apr 24, 2023 at 03:26:59PM +0000, Henry Baker wrote:
> I've noticed how Android/Termux performance falls substantially
> when Termux isn't displaying on the screen -- e.g., when I'm
> accessing Termux via ssh.
>
> I'd like to figure out how to use my phone in a 'server mode',
> where it's hooked up to power, the screen is off, but it's set
> for high performance.

I noticed an &lsquo;Acquire wakelock&rsquo; button when I expanded
the notification. This might be what you are looking for.
https://developer.android.com/training/scheduling/wakelock

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to