배터리 보존 정보
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
요즘 사용자는 이메일 전송, 재정 관리부터 동영상 스트리밍, 동영상 게임 스트리밍 및 플레이에 이르기까지 거의 모든 작업을 휴대기기를 통해 처리합니다. 유용하려면 대부분의 앱에 원격 서비스의 데이터, 이미지, 기타 미디어가 필요합니다. 앱은 사용자의 기기에 있는 여러 앱 중 하나이며 모두 네트워크 리소스를 놓고 경쟁한다는 점을 기억해야 합니다.
잘 관리되지 않으면 배터리 성능에 심각하고 해로운 영향을 미치고 사용자의 제한된 네트워크 대역폭을 불필요하게 사용할 수 있습니다.
Android 8.0부터 배터리, 사용자 환경, 시스템 상태를 유지하는 데 도움이 되는 여러 업데이트가 OS에 도입되었습니다. 하지만 개발자가 직접 사용할 수 있는 추가 고려사항, 전략, 패턴도 있습니다. 앱이 네트워크에 전송하는 요청은 전력 소모가 많은 모바일 및 Wi-Fi 무선 기능을 사용하기 때문에 배터리 소모의 주요 원인일 수 있습니다.
이 가이드에서는 다음 내용을 알아봅니다.
- 앱의 연결 모델이 무선 통신 상태 시스템과 상호작용하는 방식
- 데이터 연결의 영향을 최소화하는 기법을 사용하는 방법
- 느린 연결 문제를 해결하는 방법
- 기기가 충전 중이거나 Wi-Fi에 연결되어 있는 경우와 같은 특정 조건에서만 백그라운드 작업을 실행하는 방법
- 시간이 지남에 따라 앱의 배터리 사용량을 추적하는 방법
마지막으로 사용자 시작, 앱 시작, 서버 시작이라는 세 가지 광범위한 업데이트 카테고리와 각 카테고리의 효율성을 극대화하는 도구 및 기법에 대해 알아봅니다.
궁극적으로 개발자 커뮤니티는 사용자에게 최고의 앱 경험을 제공할 책임이 있습니다.
추가 자료
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[[["이해하기 쉬움","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-08-21(UTC)"],[],[],null,["# About preserving battery\n\nUsers rely on their mobile devices for virtually everything these days, from\nsending emails and managing finances, to streaming videos and streaming and\nplaying video games. In order to be useful, most apps require data, images, and\nother media from remote services. It's important to remember that your app is\njust one of many apps on the user's device, all competing for network resources.\nManaged poorly, this can have a dramatic and detrimental impact on battery\nperformance and unnecessarily use the user's limited network bandwidth.\n\nStarting with [Android 8.0](/about/versions/oreo/android-8.0-changes), several\nupdates were introduced to the OS which help preserve battery, user experience,\nand system health. However, there are additional considerations, strategies, and\npatterns that you as a developer can employ yourself, as well. Requests that\nyour app makes to the network can be a major cause of battery drain because\nthey rely on the heavily power-consuming cellular and Wi-Fi radios.\n\nIn this guide, you'll learn about the following:\n\n- How your app's connectivity model interacts with the wireless radio state machine.\n- How to employ techniques for minimizing the impact of your data connection.\n- How to troubleshoot slow connections.\n- How to run background work only under specific conditions such as when the device is charging or on Wi-Fi.\n- How to track your app's battery usage over time.\n\nFinally, you'll learn about three broad categories of updates:\n[User-initiated](/develop/connectivity/minimize-effect-regular-updates#user-initiated),\n[App-initiated](/develop/connectivity/minimize-effect-regular-updates#app-initiated),\nand\n[Server-initiated](/develop/connectivity/minimize-effect-regular-updates#server-initiated),\nwith tools and techniques for maximizing the efficiency of each category.\n\nUltimately, it's all of our responsibilities as a developer community to provide\nthe best app experience for our users.\n\nAdditional material\n-------------------"]]