ดูข้อมูลเกี่ยวกับวิธีที่ Google Play รวบรวมข้อมูล Android Vitals ได้ในเอกสารประกอบของ Play
Console
ตรวจสอบพฤติกรรมการใช้งานเครือข่ายมือถือ
เครื่องมืออย่างเช่น Battery Historian จะช่วยให้คุณได้รับข้อมูลเชิงลึกเพิ่มเติมเกี่ยวกับการใช้งานเครือข่ายมือถือของแอป
Battery Historian แสดงภาพการใช้คลื่นวิทยุบนอุปกรณ์เคลื่อนที่ในระดับแอป ซึ่งจะช่วยให้คุณเห็นภาพที่ชัดเจนขึ้นว่าเกิดอะไรขึ้นกับแอปของคุณ สำหรับข้อมูลเพิ่มเติมเกี่ยวกับ Battery Historian โปรดดูการวิเคราะห์การใช้พลังงานด้วย Battery Historian
ในการตรวจสอบลักษณะการใช้งานเครือข่ายมือถือของแอป คุณควรให้ความสนใจเป็นพิเศษกับบรรทัดการใช้เครือข่ายมือถือ
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Excessive Mobile Network Usage in Background\n\nWhen an app connects to the mobile network in the background,\nthe app wakes up the CPU and turns on the radio. Doing so\nrepeatedly can run down a device's battery. An app is considered to be running\nin the background if it is in the `PROCESS_STATE_BACKGROUND` or\n`PROCESS_STATE_CACHED` state.\n\nThis page explains how to determine why your app is excessively using the\nmobile network while running in the background, and what to do about it.\n\nDetect the problem\n------------------\n\nYou may not always know that your app is making inordinate use of the\nnetwork while running in the background. If you have already published\nyour app, Android vitals can make you aware of the problem so that you can fix\nit.\n\n### Android vitals\n\nAndroid vitals can help improve your app's performance by alerting you via the\n[Play Console](https://play.google.com/console/) when your app is\nusing the mobile network excessively in the background.\n\nAndroid vitals considers background network usage excessive when an app is\nsending and receiving a combined total of 50 MB per day while running in the\nbackground. In Play Console you can check percentage of *battery sessions*\nthat exhibit this behavior.\n\nThe definition of *battery session* depends on the platform version.\n\n- In Android 10, a battery session is the aggregation of all battery reports received within a given 24-hour period. A *battery report* refers to the interval between two battery charges either from below 20% to above 80% or from any charge level to 100%.\n- In Android 11, a battery session is a fixed 24-hour period.\n\nFor information on how Google Play collects Android vitals data, see the [Play\nConsole](https://support.google.com/googleplay/android-developer/answer/7385505)\ndocumentation.\n\nInvestigate mobile-network-usage behavior\n-----------------------------------------\n\n| **Warning:** Battery Historian is no longer actively maintained; if possible, consider using [system tracing](/topic/performance/tracing), the [Macrobenchmark](/topic/performance/benchmarking/macrobenchmark-overview) power metric, or the [Power Profiler](/studio/profile/power-profiler) to get insights into battery performance.\n\nTools such as Battery Historian can help you gain more insight into your\napp's mobile-network usage. Battery Historian provides a visualization of\nmobile-radio use on a per-app basis, which can help you gain a clearer\npicture of what's happening with your app. For more information about Battery\nHistorian, see\n[Analyzing Power Use with Battery Historian](/topic/performance/power/battery-historian#asd).\nIn investigating your app's mobile-network-usage behavior, you should take\nparticular note of the *Mobile network use* line.\n\nFor information about the mechanics of using Battery Historian, see\n[Batterystats and Battery Historian Walkthrough](/topic/performance/power/setup-battery-historian).\n\nReduce mobile network usage\n---------------------------\n\nYou can move your app's mobile-network usage to the foreground, alerting\nthe user to the fact that a download is in progress, and providing them\nwith controls to pause or stop the download. To do so, call\n[`DownloadManager`](/reference/android/app/DownloadManager), and set\n[`setNotificationVisibility(int)`](/reference/android/app/DownloadManager.Request#setNotificationVisibility(int))\nas appropriate.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Excessive Wi-Fi Scanning in the Background](/topic/performance/vitals/bg-wifi)"]]