Android uptime was no longer working properly at 1days 19 hours.
Hello sofofiwa,
Sorry to hear that it is still not working for you but no worries; I may have a solution which might bring back the smile to your face. I have been using this workaround/fix right up until I installed 5.53.18. Just follow these steps:
1. Remove the Power Connected constraint in your Battery Level trigger
2. Add this instead -> Add constraint -> Macrodroid Specific -> Compare Values
3. Assign type to Decimal
4. Assign {battery_current_now} to Value 1
5. Select < (less than) as operator
6 Assign 0 to Value 2
7. Click OK and save the changes
Some explanation : {battery_current_now} is the value of the current the phone battery supplies or receives. It always return a negative value when the battery is receiving charge; otherwise, current flow will be positive when the battery is supplying charge to the phone. So, if the current value is below zero (i.e. a negative value) we can logically and safely assume that the phone is connected to the charger (i.e. same like the Power Connected condition or constraint). Thank goodness that MD has the {battery_current_flow} magic text and it is totally working fine in MD.
Let me know how it works out for you.