summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/11/changes
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2012-06-15 15:22:47 -0700
committerNick Pelly <npelly@google.com>2012-06-15 16:10:38 -0700
commit6ccaa540a18a69e5343e3e4d507f341880fcde5a (patch)
treea45dc4a720e06402015941c9bb486112b3d8b776 /docs/html/sdk/api_diff/11/changes
parentbb68d6f893208b3fb5b4717a0f173f7f4eb2d454 (diff)
Include WIFI scan's in Battery Stats.
Call noteWifiScanStartedFromSource() when a scan is started. Call noteWifiScanStoppedFromSource() when a scan is finished. The current implementation tracks to UID that requested the scan, and correctly tracks the duration of the scan. It ignores scan requests that occur when a scan is already in progress. It does not distinguish between active and passive scans. Repurpose all the noteScanWifiLockAcquired/Released() plumbing for WIFI scan tracking. The WIFI scan locks were never reported to the user. Use noteFullWifiLock() when WIFI scan locks are used - this makes sense because the power draw for a WIFI scan lock should be about the same as for a full WIFI lock. Bug: 6642581 Change-Id: Ida6e87992853698545b89f875c973a239218317d
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions