Wake lock management through application monitoring

US9841802B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9841802-B2
Application numberUS-201414185852-A
CountryUS
Kind codeB2
Filing dateFeb 20, 2014
Priority dateFeb 20, 2014
Publication dateDec 12, 2017
Grant dateDec 12, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods, systems, and devices are described for managing wake locks in a wireless communication device. The described methods, systems and devices may enable a wireless communication device to monitor activity of an application for which a wake lock is held. The described approach may manage the wake lock based at least in part on the activity or inactivity of the application. For example, when the application is inactive or has activity below a particular threshold for a certain amount of time, the described approach may determine to release the wake lock.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for managing wake locks in a wireless communication device, comprising: determining an activity threshold value for an activity of an application based at least in part on a class of the application; determining a monitoring interval of the application based at least in part on the class of the application; identifying a metric for each process and service associated with the class of the application; monitoring the activity of the application, for which a wake lock is held on the wireless communication device, during the monitoring interval that includes a number of consecutive monitoring intervals by comparing the metric for each process and service associated with the class of the application to the activity threshold value during each of the number of consecutive monitoring intervals; determining that the metric for each process and service associated with the class of the application is below the activity threshold value for a subset of consecutive intervals of the consecutive monitoring intervals; incrementing a counter value based at least in part on the metric for each process and service associated with the class of the application being below the activity threshold value; comparing the counter value to the determined monitoring interval; identifying that the counter value is equal to the subset of consecutive intervals of the consecutive monitoring intervals associated with the determined monitoring interval based at least in part on the comparing; determining whether to release the wake lock based at least in part on the monitored activity of the application during the subset of the consecutive intervals of the consecutive monitoring intervals and the counter value; and releasing the wake lock. 2. The method of claim 1 , wherein the identifying the metric for each process and service associated with the activity of the application comprises: using at least one metric selected from the group consisting of: processor usage/load; process runtime; service runtime; number of processes; number of services; instances of kernel space wake locks held by services associated with the application; screen status; disk activity; network activity; memory usage/activity; and, sensor usage. 3. The method of claim 1 , further comprising: identifying a plurality of metrics related to the activity of the application; and aggregating the identified plurality of metrics to obtain an activity score. 4. The method of claim 3 , wherein the aggregating the plurality of metrics to obtain the activity score comprises: aggregating the identified plurality of metrics in a weighted linear combination. 5. The method of claim 3 , further comprising: identifying a monitoring interval, a number of monitoring intervals with the activity score below the activity threshold value, the activity threshold value, or a combination thereof based at least in part on the application. 6. The method of claim 3 , further comprising: comparing the obtained activity score to activity threshold value, wherein the determining whether to release the wake lock is based at least in part on a result of the comparing. 7. The method of claim 6 , further comprising: identifying the activity threshold value based at least in part on the application. 8. The method of claim 6 , further comprising: identifying a number of monitoring intervals with the activity score below the activity threshold value. 9. The method of claim 8 , further comprising: releasing the wake lock when the activity score is below the activity threshold value for the identified number of monitoring intervals. 10. The method of claim 8 , wherein the identifying the number of monitoring intervals is based at least in part on the application. 11. An apparatus for managing wake locks, comprising: means for determining an activity threshold value for an activity of an application based at least in part on a class of the application; means for determining a monitoring interval of the application based at least in part on the class of the application; means for identifying a metric for each process and service associated with the class of the application; means for monitoring the activity of the application, for which a wake lock is held on the wireless communication device, during the monitoring interval that includes a number of consecutive monitoring intervals by comparing the metric for each process and service associated with the class of the application to the activity threshold value during each of the number of consecutive monitoring intervals; means for determining that the metric for each process and service associated with the class of the application is below the activity threshold value for a subset of consecutive intervals of the consecutive monitoring intervals; means for incrementing a counter value based at least in part on the metric for each process and service associated with the class of the application being below the activity threshold value; means for comparing the counter value to the determined monitoring interval; means for identifying that the counter value is equal to the subset of consecutive intervals of the consecutive monitoring intervals associated with the determined monitoring interval based at least in part on the comparing; means for determining whether to release the wake lock based at least in part on the monitored activity of the application during the subset of the consecutive intervals of the consecutive monitoring intervals and the counter value; and means for releasing the wake lock. 12. The apparatus of claim 11 , wherein the means for identifying the metric for each process and service associated with the activity of the application uses at least one metric selected from the group consisting of: processor usage/load; process runtime; service runtime; number of processes; number of services; instances of kernel space wake locks held by services associated with the application; screen status; disk activity; network activity; memory usage/activity; and, sensor usage. 13. The apparatus of claim 11 , further comprising: means for identifying a plurality of metrics related to the activity of the application; and means for aggregating the identified plurality of metrics to obtain an activity score. 14. The apparatus of claim 13 , wherein the means for aggregating the plurality of metrics to obtain the activity score comprises: means for aggregating the identified plurality of metrics in a weighted linear combination. 15. The apparatus of claim 13 , further comprising: means for comparing the obtained activity score to the activity threshold value, wherein the means for determining whether to release the wake lock is configured to use a result of the comparing for the determining. 16. The apparatus of claim 15 , further comprising: means for identifying a monitoring interval, a number of monitoring intervals with the activity score below the activity threshold value, the activity threshold value, or a combination thereof based at least in part on the application. 17. The apparatus of claim 15 , further comprising: means for identifying a number of monitoring intervals with the activity score below the activity threshold value; and means for releasing the wake lock when the activity score is below the activity threshold value for the identified number of monitoring intervals. 18. A device for managing wake locks, comprising: a processor; memory in electronic communication with the processor; and instructions store

Assignees

Inventors

Classifications

  • using monitoring of local events, e.g. events related to user activity · CPC title

  • Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands · CPC title

  • G06F1/3206Primary

    Monitoring of events, devices or parameters that trigger a change in power modality · CPC title

  • by software initiated power-off · CPC title

  • Means for saving power · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9841802B2 cover?
Methods, systems, and devices are described for managing wake locks in a wireless communication device. The described methods, systems and devices may enable a wireless communication device to monitor activity of an application for which a wake lock is held. The described approach may manage the wake lock based at least in part on the activity or inactivity of the application. For example, when…
Who is the assignee on this patent?
Qualcomm Inc
What technology area does this patent fall under?
Primary CPC classification H04W52/0251. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 12 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).