สั่งให้อุปกรณ์เข้าสู่โหมดสลีปโดยใช้การสลับการตั้งค่าด่วน
If you want to preserve your Power button on your Android device, you can use Nap to turn the screen off using a Quick Settings toggle.
This app has no user interface, just a Quick Settings toggle.
This app is open source, which means you can compile it yourself and use it for free. Consider the price tag a donation, and feel free to compile it manually if you want to.
https://github.com/tytydraco/Nap