@nikolal I wonder if you disable battery optimization in Termux if that would force it to remain active. Just be sure to exit when you are truly done so not to waste battery!