在我完成使用它们后,我发现自己使用 force stop 为每个应用程序。这是一个很好的做法吗?是否有任何表现或安全益处?是强制停止一个必要的应用程序,以便从RAM中取出RAM?
在我完成使用它们后,我发现自己使用 force stop 为每个应用程序。这是一个很好的做法吗?是否有任何表现或安全益处?是强制停止一个必要的应用程序,以便从RAM中取出RAM?
I find myself using force stop for every application once I have finished using them. Is this a good practice? Are there any performance or security benefits of doing this? Is force stopping an app necessary to get it out of RAM?
tl;博士:
否,这不是一个好的或可取的想法。
解释和一些背景:
强制停止应用程序不适用于"例程使用" ,而是用于"紧急目的" (例如,如果应用程序运行丢失并否则无法停止,或者问题会导致您清除缓存并删除数据来自行为不端的应用程序)。一般来说,它既不是"性能助推器" 也不是"RAM优化器" 。
在许多情况下,它也不会节省电池寿命,而是更快地耗尽电池。应用程序不仅启动当您点击其图标时,它们也可以通过意图或广播开始(例如,电池低电平,网络已更改,USB设备连接 - 但还有更多)。因此,当您"强制停止" 它时,在下一步开始时它将必须执行"完整init" (从存储中加载)而不是返回其"最后一个状态" 仍然存储在RAM(除非系统必须清除它 - 查看我们的 OOM-Priotity Tag-Wiki 有关该过程的详细信息) - 有什么描述为"将增加加载功耗/时间"在他对您的问题的评论中。TL;DR:
No, it's not a good or advisable idea.
Explanation and some background:
Force-stopping apps is not intended for "routine use", but for "emergency purposes" (eg. if an app runs out of control and cannot be stopped otherwise, or if an issue causes you to clear cache and delete data from a misbehaving app). Generally spoken, it's neither a "performance booster" nor a "RAM optimizer".
In many cases it won't save battery life either, but rather deplete the battery even faster. Apps don't only start when you tap their icon, they can also get started via intents or broadcasts (eg. on battery low, network changed, USB device connected xe2x80x93 but also on many more). So when you "force-stopped" it, on its next start it will have to do a "full init" (loading from the storage(s) and the network) instead of just going back to its "last state" still stored in RAM (unless the system had to clear it out xe2x80x93 see our oom-priority tag-wiki for details on that process) xe2x80x93 what Andy described as "will increase loading power consumption / time" in his comment on your question.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有