sm6375-common: power-libperfmgr: Disable boosting when battery saver is on
* end all running boosts when battery saver is turned on, and block all boosts until its turned off Change-Id: I6793d694747c27591e69594d9d46da3490673d63 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
b72a4690a4
commit
7a8711aaa7
2 changed files with 28 additions and 6 deletions
|
|
@ -52,6 +52,7 @@ class Power : public ::aidl::android::hardware::power::BnPower {
|
|||
private:
|
||||
std::unique_ptr<InteractionHandler> mInteractionHandler;
|
||||
std::atomic<bool> mSustainedPerfModeOn;
|
||||
std::atomic<bool> mBatterySaverOn;
|
||||
};
|
||||
|
||||
} // namespace pixel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue