Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shutdown method #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

djandiek
Copy link

For whatever reason, it wasn't working correctly. With this change, sending the shell command "reboot -p" triggers a power down.

For whatever reason, it wasn't working correctly. Sending the shell command "reboot -p" triggers a power down.
@irvingswiftj irvingswiftj requested review from dpascu, a user and irvingswiftj December 18, 2018 09:30
@irvingswiftj
Copy link
Contributor

This fix is changing the functionality of the method. Previous it was doing the same as pushing the power button, now it is entering the shutdown command in the adb shell.

I suggest that the old functionality should remain, however should be referred to as standby, and not shutdown

Copy link
Contributor

@irvingswiftj irvingswiftj left a comment

Choose a reason for hiding this comment

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

This fix is changing the functionality of the method. Previous it was doing the same as pushing the power button, now it is entering the shutdown command in the adb shell.

I suggest that the old functionality should remain, however should be referred to as standby, and not shutdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants