How do I temporarily disable an app when there is no "Disable" option


Question

There are two memory hungry apps, Facebook and Facebook Messenger, which I want to disable at times but not always. I used:




  • settings → apps → downloaded → Facebook → force stop

  • settings → apps → running → Facebook → <weird service name(s)> → stop

  • settings → apps → all → Facebook → force stop



But the app restarts after few minutes, often accompanied by lots of thrashing. Ideally I would like to disable the app and remove it from memory until I decide to use it. What is the best possible solution?



Android version is 4.4.4, almost stock, not rooted.


Answer

Manual methods might be tricky here. I'd recommend taking a look at Greenify, which will take care for such apps automatically (after you've told it so – you're the boss after all ;)



Greenify Greenify settings

Greenify (source: Google Play; click images for larger variants)



As the screenshots show, Greenify can "hibernate" apps automatically when the screen is off (and it can do the same when configured apps are not in foreground) – which is basically like an "automated freezing/disabling" of the app. Big difference: you no longer have to care for that yourself. App icons and everything remain accessible. From the app's description:




Greenify help you identify and put the misbehaving apps into hibernation when you are not using them, to stop them from lagging your device and leeching the battery, in an unique way! They can do nothing without explicit launch by you or other apps, while still preserving full functionality when running in foreground, similar to iOS apps!




To point out some details which where misinterpreted1, please take a closer look at the first screenshot. You can see it shows 3 sections:




  • "Not hibernating automatically" (showing "Lux Lite"): This shows you've got the last word which apps Greenify shall deal with. In fact, without you doing so, Greenify won't deal with any app.

  • "Will hibernate in minutes after screen is off" (showing Evernote & Co): This is one of the ways Greenify can deal with apps: things which do not need to be active while you switched off your screen can be sent to sleep (though the selection in the screenshot seems weird to me: I'd never put my automation app – here IFTTT, in my case Tasker – into this section)

  • "Hibernated" (showing "Amazon Kindle"): So the apps there are put to sleep, though the screen is on (otherwise this section wouldn't make any sense as you'd never be able to see it). These are the apps "put to sleep" whenever they're not running in foreground: why should an eBook reader (here: Kindle) be active when you can't see it (unless it's using TTS to read a book aloud, of course)?



Greenify comes for free and doesn't require root to work (see top of second screenshot: "Working Mode: Non-Root") – though it unleashes its full powers with root, its Donation package, and the .



If you want to learn more on this app: there are currently over 70 answers mentioning it, feel free to browse :)






1: before I complemented my answer with this information; see e.g. comments on this other answer


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes