Skip to content

Wakelock feature for PGP in mwc service#52

Open
shwethabolumbu wants to merge 1 commit intoprojectceladon:mainfrom
shwethabolumbu:wakelock
Open

Wakelock feature for PGP in mwc service#52
shwethabolumbu wants to merge 1 commit intoprojectceladon:mainfrom
shwethabolumbu:wakelock

Conversation

@shwethabolumbu
Copy link
Copy Markdown

Signed-off-by: Shwetha B shwetha.b@intel.com

Signed-off-by: Shwetha B <shwetha.b@intel.com>
#! /bin/sh
if adb get-state 1>/dev/null 2>&1
then
state=$(adb shell dumpsys power | grep -oE 'SCREEN_BRIGHT_WAKE_LOCK')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to check if android guest is active.
If no android app/windows is active. We don't need to do the adb check.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 2 checks if guest is active or not using adb.
If not adb, we need to use qemu process for checking the activeness of guest.

Copy link
Copy Markdown
Contributor

@shuangwan01 shuangwan01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But for integration, the PR needs to be submitted to branch celadon/r/mr0/stable.

@shwethabolumbu
Copy link
Copy Markdown
Author

#53 - New PR in celadon/r/mr0/stable branch
Along with the changes in is-wakelock-active script as per Luhai's comments

@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale label for inactive open prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants