Tagged articles
8 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Dec 12, 2023 · Mobile Development

How to Detect and Optimize Android App Battery Drain with Bytecode Hooking

This article explains how Android’s battery statistics work, demonstrates a low‑overhead bytecode instrumentation technique to monitor power‑hungry APIs such as WakeLocks, GPS and sensors, and shows practical examples of detecting and fixing real‑world battery‑draining bugs in production apps.

AndroidInstrumentationPerformance Monitoring
0 likes · 26 min read
How to Detect and Optimize Android App Battery Drain with Bytecode Hooking
WeChat Client Technology Team
WeChat Client Technology Team
Aug 3, 2021 · Mobile Development

Detecting and Fixing Android App Power Drain with BatteryCanary

This article explains how Android apps consume power, details the underlying BatteryStatsService, introduces the BatteryCanary tool for monitoring and diagnosing power‑drain issues, and shares practical optimization cases and benchmark results for developers seeking to reduce app energy usage.

AndroidBatteryCanaryPower Monitoring
0 likes · 27 min read
Detecting and Fixing Android App Power Drain with BatteryCanary
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Apr 14, 2021 · Mobile Development

Understanding the XNU "wakeup" Metric and Its Impact on iOS Battery Consumption

Apple’s XNU kernel introduced the “wakeup” metric in iOS 13 to count CPU core activations from low‑power states, and because high wake‑up rates increase dynamic power consumption, developers must identify and consolidate timers, avoid frequent polling, and pause background tasks to lower the metric and extend battery life.

CPU Power ManagementXNUbattery optimization
0 likes · 16 min read
Understanding the XNU "wakeup" Metric and Its Impact on iOS Battery Consumption
360 Tech Engineering
360 Tech Engineering
Nov 13, 2020 · Mobile Development

Guide to Reducing Android Device Power Consumption and Preventing Shutdown During Automated Testing

This guide explains how to lower Android device power usage and avoid unexpected shutdowns during large‑scale automated testing by controlling battery thresholds, adjusting screen brightness, terminating background apps, setting screen timeout, synchronizing time, and managing audio settings through ADB shell commands.

AndroidDevice AutomationShell Commands
0 likes · 8 min read
Guide to Reducing Android Device Power Consumption and Preventing Shutdown During Automated Testing
JD Retail Technology
JD Retail Technology
Dec 26, 2019 · Mobile Development

How to Analyze and Reduce iOS App Energy Consumption: Tools, Metrics, and Best Practices

This guide explains why energy consumption is a critical performance metric for iOS apps, introduces core concepts such as idle, active and overhead states, identifies the main power‑hungry components, and walks through Apple’s profiling tools—Energy Impact, Energy Log, Sysdiagnose and MetricsKit—plus concrete optimization techniques for network, location, CPU, GPU and notifications.

App Developmentbattery optimizationenergy profiling
0 likes · 21 min read
How to Analyze and Reduce iOS App Energy Consumption: Tools, Metrics, and Best Practices
21CTO
21CTO
Nov 12, 2018 · Mobile Development

Can Unified Push Standards Save Android Battery and Simplify Development?

The article explains how China's Unified Push Alliance aims to standardize Android push notifications, reduce background wake‑ups and battery drain, and simplify developers' work by enforcing the Android Green App Covenant 2.0 and consolidating push channels into a single process.

AndroidMobile DevelopmentUnified Push
0 likes · 5 min read
Can Unified Push Standards Save Android Battery and Simplify Development?
Meituan Technology Team
Meituan Technology Team
Mar 8, 2018 · Mobile Development

App Battery Consumption Analysis and Optimization in Short Video Features

The article examines why short‑video list pages drain far more battery than detail pages, explains Android power‑profile calculations and testing with Battery Historian, and demonstrates code‑level fixes—replacing heavy layout animations with ValueAnimator—to dramatically reduce CPU‑intensive rendering and improve app battery efficiency.

Code OptimizationMobile Developmentandroid testing
0 likes · 10 min read
App Battery Consumption Analysis and Optimization in Short Video Features