Commit graph

16 commits

Author SHA1 Message Date
Chenjie Luo
90db35122d power: Adds POWER_HINT_DISABLE_TOUCH
POWER_HINT_DISABLE_TOUCH is used to hint power hal that device is
in a state that touch controller could be disabled to save power.

Bug: 30143923
Change-Id: I56c588e62afadffdb367b6e2c3115cffef51bb45
2016-07-14 23:20:19 +00:00
Wei Wang
a787ab79e5 Add new power hints for launch activity
BUG: 28220567
Change-Id: I6da77240cdca5caa2e8504c36e83287954fd6ffc
2016-05-26 11:53:15 -07:00
Badhri Jagan Sridharan
2b238d6935 power: Platform-level low power state stats
Add interface to export export platform-level power stats
to BatteryStatsService.

Bug: 26564574

Change-Id: Ibd452c46d91b0055bc5aa0e6b2cc8ee7b428ea31
2016-04-27 14:01:06 -07:00
Ruchi Kandoi
403bc14825 power: Adds a new power hint POWER_HINT_VR_MODE
Adds a POWER_HINT_VR_MODE which is used to enable/disable VR mode. This
mode guarantees minimum performance as long as the device can sustain.

Bug: 27659731
Change-Id: Ia6701299cacb5201921f8a517ec78ed4012b9455
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-03-15 17:41:27 +00:00
Ruchi Kandoi
9489865ddd power: Adds a new power hint POWER_HINT_SUSTAINED_PERFORMANCE
Adds a POWER_HINT_SUSTAINED_PERFORMANCE which is used to enable/disable
sustained performance mode. This mode provides consistent performance
for prolonged amount of time.

Bug: 22864186
Change-Id: I78d0f72fe41bf0ef6f115644de0fd7194d4f1040
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-01-13 09:09:57 -08:00
Michael Wright
147d5404f5 Define the data parameter for POWER_HINT_INTERACTION.
Change-Id: I86857c1ea92082de109c612080e47c9c9835726b
2015-09-16 23:36:12 +01:00
Ruchi Kandoi
d091713884 power: Adds setFeature functionality for the power module
Adds the setFeature callback which could be used to enable/disable
power as well as performance specific features.

POWER_FEATURE_DOUBLE_TAP_WAKE is added which uses the setFeature
callback to enable/disable the double-tap feature.

Bug: 16875464
Change-Id: I5ed9b5be8fddedf9861eedd962def421d9fac5bf
2014-10-31 10:58:30 -07:00
Ruchi Kandoi
62f67558af power: Adds a new power hint POWER_HINT_LOW_POWER
Change-Id: Ib0adda9bce0719eb47d41dc7c77f4bd9576311a9
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-05-06 18:59:08 -07:00
Iliyan Malchev
1a70c0fd39 libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-25 18:55:59 -07:00
Mekala Natarajan
501fc0f182 Power: Add multimedia hints
Add hints for video encode and decode use cases. These
hints are sent when the relevant use case starts and ends.
Clients can also send metadata along with the hint to provide
context to the power HAL so that it can make more informed
decisions about how to tweak system-level parameters.

Bug: 9325608
Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-20 09:54:28 -07:00
Todd Poynor
bcdb4cd34b hardware: Power HAL: Add POWER_HINT_INTERACTION
Change-Id: I9b2c29eadc60e2bea2f01b3925ad6a8539ec2655
2012-05-03 16:04:41 -07:00
Mathias Agopian
5cb1de89a9 add version number to power HAL
Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b
2012-04-26 19:49:40 -07:00
Todd Poynor
2f143fba74 hardware: libhardware: Power HAL add power hints -- DO NOT MERGE
Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-04-25 18:16:40 -07:00
Todd Poynor
c82792c0a4 Power HAL: Add initial header file and default/legacy implementation
Change-Id: I43a515a8ffe72a9c4e7d5f7470a5e73e76d5e1b1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-02-17 16:26:32 -08:00
The Android Open Source Project
0100d517b1 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:12 -08:00
The Android Open Source Project
d6054a3647 Initial Contribution 2008-10-21 07:00:00 -07:00