質問

is there any way to wake up the android when it is on standby, by saying a specific voice command? I found this post,Speech recognition listener doesn't work in Galaxy SII but I guess this one is consuming so much battery .

I would highly appreciate any idea or recommendation on this.

Thank you very much in advance.

役に立ちましたか?

解決

If you could, the CPU would not be able to go into Deep Sleep because the microphone would have to be listening/recording, and some processing would have to occur to see if a specific command has been said.

This would require the CPU to continually tick at (least) it's lowest frequency which, regardless of how well you write your code, will drain battery.

So no, there is no battery efficient solution I'm afraid (unless, somehow, you manage to implement this under Android, e.g. in hardware or something lower-level).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top