Bug 197317 - [iOS] Our process assertion should not allow idle sleep
Summary: [iOS] Our process assertion should not allow idle sleep
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-26 10:25 PDT by Chris Dumez
Modified: 2019-04-26 15:05 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.86 KB, patch)
2019-04-26 10:27 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (2.04 KB, patch)
2019-04-26 10:29 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-04-26 10:25:57 PDT
Background process assertion should not allow idle sleep. This is bad for power because the device may switch between sleep and awake state frequently, as it get woken up by network packages.
Comment 1 Chris Dumez 2019-04-26 10:26:11 PDT
<rdar://problem/50137740>
Comment 2 Chris Dumez 2019-04-26 10:27:35 PDT
Created attachment 368330 [details]
Patch
Comment 3 Chris Dumez 2019-04-26 10:29:42 PDT
Created attachment 368331 [details]
Patch
Comment 4 Geoffrey Garen 2019-04-26 14:36:45 PDT
Comment on attachment 368331 [details]
Patch

r=me
Comment 5 WebKit Commit Bot 2019-04-26 15:05:07 PDT
Comment on attachment 368331 [details]
Patch

Clearing flags on attachment: 368331

Committed r244707: <https://trac.webkit.org/changeset/244707>
Comment 6 WebKit Commit Bot 2019-04-26 15:05:09 PDT
All reviewed patches have been landed.  Closing bug.