Home > Mobile >  Android sleep and wake up
Android sleep and wake up

Time:09-24

Now is making a demand, I use the app to perform android dormancy, touch screen (touch pad is the I2C interface TP information FT5XXX); I can send message to app now, android can sleep, but can't wake up dormant machines,

I have modified the Linux driver, the machine is in a state of dormancy, the data can be read to the touchpad, and submitted the data to the system, but the android system does not handle the data, don't know what to do next,
But I use the mouse to test system, found that the movement of the mouse can wake up the system, but the level of limited haven't found the mouse driver in the processing of the code,,,

CodePudding user response:

Want to wake up the system seems to define a special key, you can refer to the power key value is defined, used to have contact with hand gestures, or in a dormant state on a touch screen picture gestures to directly start the corresponding APP,
  • Related