# Charge automatically based on the battery percentage

**URL:** <https://forum.ewelink.cc/t/charge-automatically-based-on-the-battery-percentage/6691>\
**Category:** Uncategorized\
**Tags:** webhooks\
**Created:** [October 9, 2022, 11:33am UTC](https://forum.ewelink.cc/t/charge-automatically-based-on-the-battery-percentage/6691 "2022-10-09T11:33:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PeterGoGo](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/petergogo/32/460_2.png) [@PeterGoGo](https://forum.ewelink.cc/u/PeterGoGo)\
**Post date:** [October 10, 2022, 2:29am UTC](https://forum.ewelink.cc/t/charge-automatically-based-on-the-battery-percentage/6691/2 "2022-10-10T02:29:16Z")

</div>

Actually, there is no preset trigger like the battery is higher than 80% in the IFTTT App, but we can create one. Here are the instructions:

1. Download and install a third-party App like **AccuBattery** to detect the battery percentage.

2. Set charging to **80%** on the first tab, so you’ll receive a notification when the battery reaches 80%.  

3. Open IFTTT App \> Create \> If This \> Android Device \> Notification received from a specific app. Then you enter a Complete trigger fields page, where you should enter the App name (AccuBattery), and enter the keyword “disconnect”.

After completing the steps mentioned, you’ve created the trigger. And then you can add the actions in the IFTTT App, and finally, you will be able to charge the phone automatically according to its battery percentage.

---

_[View the full topic](https://forum.ewelink.cc/t/charge-automatically-based-on-the-battery-percentage/6691)._
