• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Repeating low battery notification

cichy202

Lurker
Hi!

I want to set up a repeating low battery notification using Tasker but I have some troubles.

But this does not work properly.

When the battery get's below 14% and I connect charger the notification is no being canceled. It is not canceled even if battery charges to more than 14%.

Can you guys help me?

Code:
Profile: Battery Reminder (23)
	State: Battery Level [ From:0 To:14 ]
	State: Not Power [ Source:Any ]
Enter: Battery Reminder In (24)
	A1: Notify [ Title:Podłącz ładowarkę! Text:Poziom baterii: %BATT% Icon:cust_battery Number:0 Permanent:Off Priority:3 ] 
	A2: If [ %NIGHT_MODE ! Set ]
	A3: Play Ringtone [ Type:Notification Sound: Stream:5 ] 
	A4: Vibrate [ Time:200 ] 
	A5: End If 
	A6: Wait [ MS:0 Seconds:0 Minutes:15 Hours:0 Days:0 ] 
	A7: Notify Cancel [ Title:Podłącz ładowarkę! Warn Not Exist:Off ] 
	A8: Goto [ Type:Action Number Number:1 Label: ] 

Exit: Battery Reminder Out (25)
	A1: Stop [ With Error:Off Task:Battery Reminder In ] 
	A2: Notify Cancel [ Title:Podłącz ładowarkę! Warn Not Exist:Off ]
 
Back
Top Bottom