In my opinion its the device.Especially sensors which should full fill the
criteria of always ON always sensing. Google "Selective Suspend" for USB
.Sensor are either directly connected or connecetd vi a HUB(micro
controller or Co processor) which in turn is connected to SoC where the
Android Runs.The power management is done by the HOST but fw of the device
should be made such that it is wakeup by either itself or by the HOST.

Also google Selective Suspend for HID USB device.
On Jul 29, 2015 10:19 PM, "amjprogramming" <unicha...@gmail.com> wrote:

> Hello there,
>
> This is my first question in this group, which is about the power
> management between Android-based device and a USB-client.
>
> Is it possible for Android to power off (or suspend) and on (or resume) a
> connected USB-device, i.e. sensor or keyboard, periodically?
> How is responsible for the power management, is it Android or the client
> (the attached device)?
>
> ------------------- Example of USB host and USB-client---------------
>
>
> <https://lh3.googleusercontent.com/-MT3zipZtAYE/VbFe_aKl-ZI/AAAAAAAACYs/CSTm1LyDKxU/s1600/2015-Hot-Sale-Universal-Android-Robot-Micro-USB-OTG-Cable-Host-Adapter-for-Samsung-Galaxy-S3.jpg>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------------------
>
> Thanks in advance,
>
> Regards,
> Amjad
>
>  --
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Linux Kernel Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-kernel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to