The issue is this "Wakelock not working even after removing all battery optimisation".Not needed much description. I have checked everything on my phone set it on high performance mode so it doesn't any work going in background .Also i have made sure that the background activity is always allowed to Termux and it won't stop.i have acquired wakelock but after some 10 minutes, It just stops.