Web App Energy Budgeting via Event Prioritization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current solutions fail to effectively optimize energy consumption in web application environments, particularly where widgets and event-based applications run continuously in the background, leading to battery drain issues in mobile devices.
Innovation Solution
A method that detects events triggering web resources, estimates energy consumption, compares it to a predetermined budget, and adjusts priorities to conserve energy by pausing or stopping lower-priority activities, while providing user notifications and options to manage energy usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If web applications and widgets run continuously in the background to provide elaborate functionality, then user experience and service availability are improved, but energy consumption increases and battery longevity deteriorates
Solution Approach 1:
The system dynamically adjusts the operation state of web application components based on energy budget constraints. Event handlers are selectively activated or deactivated depending on current energy availability, allowing the application to adapt its functionality dynamically rather than running all components continuously
Solution Approach 2:
The system implements partial action by allowing only certain event handlers to execute based on energy budget availability. When energy budget is exceeded, lower-priority event handlers are prevented from executing, while critical handlers continue to function, providing essential functionality with reduced energy consumption
2Adaptability or versatility
If multiple applications and threads run simultaneously to enhance device capabilities, then functionality is improved, but energy consumption increases and battery life decreases
Solution Approach 1:
The system performs preliminary energy budget allocation before executing multiple applications and threads. Energy budgets are pre-calculated and assigned to different applications based on their priority and expected energy consumption, preventing excessive energy usage before it occurs
Solution Approach 2:
The system continuously monitors energy consumption of running applications and provides feedback to the resource manager. When energy budget thresholds are approached or exceeded, the system adjusts application execution accordingly, creating a closed-loop control system that balances functionality with battery longevity
3Ease of operation
If event-based web applications are allowed to run freely, then user interaction responsiveness is improved, but energy consumption increases and operational control deteriorates
Solution Approach 1:
The system segments event handlers into different priority levels and energy budget categories. Critical user interaction handlers are separated from non-essential handlers, allowing the system to guarantee energy allocation for essential interactions while limiting or disabling non-essential ones when energy budget is constrained
Data Source
AI summary
A method and related apparatus, the method comprising: detecting, in a device, an event triggering a web resource related to a web page; estimating energy consumption of the event triggering the web resource; comparing the estimated energy consumption to a predetermined value of available energy budget; and in response to the estimated energy consumption exceeding the predetermined value of the available energy budget, indicating the exceeding to the user of the device.


