CPC G06F 1/3231 (2013.01) [G01P 15/14 (2013.01); G01R 29/12 (2013.01)] | 18 Claims |
1. A device, comprising:
a motion sensor configured to generate a motion measurement signal of the device;
an electrostatic charge sensor configured to generate an electrostatic charge measurement signal of the device; and
a controller configured to:
determine an in-bag state of the device based on the motion measurement signal and the electrostatic charge measurement signal, the in-bag state indicating the device is in a bag;
determine an orientation change of the device based on the motion measurement signal;
determine an out-from-bag event of the device in response to the orientation change being determined, the out-from-bag event indicating the device is being taken out of the bag; and
determine an electrostatic discharge based on the electrostatic charge measurement signal;
validate the out-from-bag event in response to the electrostatic discharge being determined;
adjust a power state of the device based on the in-bag state or the out-from-bag event.
|