# How to run app in background even if it is closed like whatsapp

**URL:** <https://forum.ionicframework.com/t/how-to-run-app-in-background-even-if-it-is-closed-like-whatsapp/40420>\
**Category:** ionic-v1\
**Created:** [January 4, 2016, 1:55pm UTC](https://forum.ionicframework.com/t/how-to-run-app-in-background-even-if-it-is-closed-like-whatsapp/40420 "2016-01-04T13:55:23Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![boltex](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@boltex](https://forum.ionicframework.com/u/boltex)\
**Post date:** [January 4, 2016, 2:37pm UTC](https://forum.ionicframework.com/t/how-to-run-app-in-background-even-if-it-is-closed-like-whatsapp/40420/7 "2016-01-04T14:37:34Z")

</div>

> [@I found a solution for some regular background activity!](https://forum.ionicframework.com/t/i-found-a-solution-for-some-regular-background-activity/27012):
>
> Are you trying to make an app that does something every x minutes, even when the app is in the background and/or the screen is turned off… tried backgound-mode plugin but it only works reliably when the phone is plugged in… did you ever found a solution to this? Made my own solution, [https://github.com/boltex/cordova-plugin-powermanagement](https://github.com/boltex/cordova-plugin-powermanagement) I modified the regular power management plugin : I changed SCREEN\_DIM\_WAKE\_LOCK to PARTIAL\_WAKE\_LOCK here’s how i use it along with the background mode plu…

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-run-app-in-background-even-if-it-is-closed-like-whatsapp/40420)._
