Sahi jankari, gahraai se. 💡

Myth vs Reality1 min readmedium

क्या background apps बंद करने से फ़ोन की बैटरी बचती है?

Does closing background apps save phone battery?

Chhota jawab

नहीं, आधुनिक फ़ोन पर यह आमतौर पर उलटा असर करता है। iOS और Android background में apps को निलंबित कर देते हैं, और force-close करने का मतलब है कि फ़ोन को बाद में उन्हें फिर से लोड करना होगा, जो कम नहीं, ज़्यादा बैटरी खर्च करता है।

No, on modern phones it usually does the opposite. iOS and Android suspend apps in the background, and force-closing them just means the phone has to load them again later, which uses more battery, not less.

Poora jawab

iOS और Android दोनों पर, ऑपरेटिंग सिस्टम जब apps foreground में नहीं होते तो उन्हें निलंबित अवस्था में रखता है। App की स्थिति मेमोरी में रहती है लेकिन CPU app नहीं चला रहा, स्क्रीन बंद है, और कोई नेटवर्क अनुरोध नहीं हो रहा। OS, जब और मेमोरी की ज़रूरत होगी, निलंबित app को हटा देगा। App को force-close करने से वह निलंबित पूल से बाहर हो जाता है, और फिर से खोलने पर पूर्ण cold start मजबूरी होती है, जो बैटरी और समय दोनों में ज़्यादा महँगा है। Apple का डेवलपर दस्तावेज़, और उपयोगकर्ता शिकायत के जवाब में Craig Federighi का 2016 का ईमेल, दोनों पुष्टि करते हैं कि force-close करने से बैटरी जीवन नहीं बढ़ता। एकमात्र अपवाद वे apps हैं जिनमें ज्ञात बग है और background में चल रहे हैं, लेकिन वे अपवाद हैं। 2020 में, Tom's Guide ने 12 लोकप्रिय Android apps मापे और पाया कि force-close ने 8-घंटे के परीक्षण में बैटरी ड्रेन पर कोई अंतर नहीं डाला।

In English

On both iOS and Android, the operating system keeps apps in a suspended state when they are not in the foreground. The app's state is held in memory but the CPU is not running the app, the screen is off, and no network requests are being made. The OS will, when memory is needed elsewhere, evict the suspended app. Force-closing an app removes it from the suspended pool, and reopening it forces a full cold start, which is more expensive in both battery and time. Apple's developer documentation, and a 2016 email from Craig Federighi in response to a user complaint, both confirm that force-closing apps does not improve battery life. The only exceptions are apps that have a known bug and are running in the background, but those are exceptions. In 2020, the testing site Tom's Guide measured 12 popular Android apps and found that force-closing made no difference to battery drain over an 8-hour test.

Ek aur baat

iOS अब ऐप स्विचर के शीर्ष पर अक्सर इस्तेमाल किए जाने वाले apps दिखाता है, वर्तमान में चल रहे apps नहीं। 'हाल में इस्तेमाल' सूची उत्पादकता संकेत है, स्थिति प्रदर्शन नहीं।

2 sources