Looking at the code, I'm guessing the issue is if Input.is_action_just_released("lpm"):
. Have you checked to see if this line of code is working on Android? Maybe the input for lmp
on Android has not been mapped correctly, which is causing the if condition to fail and the timer to continue.