Android Sensor trigger events ? - Android Q&A, Help & Troubleshooting

I would realy appreciate if someone enlightens me, Do new Android phone's record somewhere abnormal sensor events? Like if your phone had an impact and the accelerometer would show on certain date a really high Xm/s2.

Related

[Q] How to read ambient light level sensor

Ok Ive drawn a blank.
I want to measure the ambient light level; it seems that SE must have used a non-standard (surprised?) implementation, as various apps that can read the sensor on other phones cant read the light level on the X10.
I can find no help in the XDA forums or through google.
I have searched through /sys/devices for anything looking hopeful but no luck. I was hoping a file would hold the sensor value, just as http://forum.xda-developers.com/showthread.php?t=1284938 shows how to measure charging current by reading a file deep in /sys/devices.
I want ideally to use light readings with Tasker to control the phone, but also it would be great if Juicedefender could control screen brightness for us as the screen is my main battery drain.
Pointers, hints or even the answer all welcome!
Thanks in advance
Chris

[Q] Enable accelerometer, when screen is off

Hello everyone. I wanted to try apps like Sleep as Android or ElectricSleep, but I've noticed, that accelerometer doesn't give data when screen is off. Is there a way to enable it with a help of some app or something?
Smart Actions has a trigger Motion Detector, which lets to add some actions when there is no motion for a few minutes and it works. So, I'm a little bit confused, is this some bug of an app, or Motion Detector doesn't use accelerometer? Any suggestions? Thank you in advance.
I had a similar problem. Unfortunately for me the only solution was to buy and do Xperii X8 downgrade to Adnroid 1.6.
Only in version 1.6 you could use the accelerometer when the screen is off.
Or buy Axbo sleep phase alarm

5 plus pressure sensor

Hi!
Can anyone tell me how I get the pressure sensor to get recognized? All apps I tried so far say it's not there, but apparently the compass app from the stock ROM does display the pressure data. Does anyone have the stock pressure app? I'm running AEX.
Would a different kernel help for that?
Thanks!
Molvol said:
Hi!
Can anyone tell me how I get the pressure sensor to get recognized? All apps I tried so far say it's not there, but apparently the compass app from the stock ROM does display the pressure data. Does anyone have the stock pressure app? I'm running AEX.
Would a different kernel help for that?
Thanks!
Click to expand...
Click to collapse
What u mn??? Pressure app ???
Almost every cell phone has a pressure sensor, and the Redmi 5 plus apparently too. But it doesn't seem to work like in all other phones. There are many apps that can read this sensor and display it - barometer apps namely and other sensor-display apps. I haven't found one that works with my 5 plus.
I have only seen mentioned that the built in compass app does display a pressure, all apps I have tried do not display a correct value, most just say "no sensor".
Sorry
No pressure sens. in RN5. Compass works with magnetic sensor which detects magnetic field of Earth. Not atmospheric pressure. Pressure sensor is only in more expensive phones included

[REQ] Wear OS Fall Detection

Hello all,
Any chance someone would be interested in helping to implement fall detection on regular wear OS watches? Something similar to those on the galaxy and apple watches. Am I missing something that should be an obvious reason this hasn't been implemented?
Thanks
I have looked into this, and there are some difficulties to it. Most algorithms for fall detection use continuous accelerometer and/or gyroscope readings. There is a significant battery hit for making these recordings continuously.
As far as I know, the only way to make this viable is to use sensor batching with wakeup accelerometer and gyroscope sensors. That way, the device will be able to sleep for a significant portion of the time and be woken up when there are new measurements. Some devices (I'm looking at you ticwatch pro 3) don't even have wakeup accelerometer or gyroscope. The only way I see to get around this is using the significant motion detector which is always a wake-up sensor. Maybe this sensor will be triggered to wakeup the device when a fall occurs and sensors can be recorded at that time.
I think this is how I would go about it, but maybe I'm missing something
Sounds like a good plan for starters... cheers
permanentusername22 said:
I have looked into this, and there are some difficulties to it. Most algorithms for fall detection use continuous accelerometer and/or gyroscope readings. There is a significant battery hit for making these recordings continuously.
As far as I know, the only way to make this viable is to use sensor batching with wakeup accelerometer and gyroscope sensors. That way, the device will be able to sleep for a significant portion of the time and be woken up when there are new measurements. Some devices (I'm looking at you ticwatch pro 3) don't even have wakeup accelerometer or gyroscope. The only way I see to get around this is using the significant motion detector which is always a wake-up sensor. Maybe this sensor will be triggered to wakeup the device when a fall occurs and sensors can be recorded at that time.
I think this is how I would go about it, but maybe I'm missing something
Click to expand...
Click to collapse
I don't have a great understanding of how these all integrate into the system but I would think that the same sensor, what I am assuming is an accelerometer, that is used for the wake feature could also be used for this. Like you said, using the full suite would be prohibitively expensive from an energy standpoint, but I assume that the wake accelerometer can be used to directly measure the acceleration of the wake motion and could also be used to calculate fall detection, one that measures the acceleration and not just if said motion is occurring. So, there would be no need for the rest of the sensor suite to be used after, correct? As a side note, it would be pretty cool to have the watch read vitals and such and be able to report that with the fall notification via a continuous stream of text messages on set intervals.

Question Disable proximity sensor while playing games

Hi,
I bought my son Mi 11 Lite 5G, but he has problems. He is used to do a Viber call with his friends while playing games, but every time his finger goes over proximity sensor, the screen shuts off, it's really frustrating... Is there a way to disable proximity sensor while the call is in background, or while in game mode? Even a manual toggle would be ok if I could find a way to put a shortcut somewhere.
What are my options? I searched the Internet, but I couldn't find any practical solution... In the "Incoming call settings" there is no toggle to switch the sensor off (screenshot attached). The phone is fully updated.
Thank you!
That is a Viber parameter, check out in settings /calls and messages /use device proximity sensor ....in Viber.
Thank you, it works! I feel kind of stupid for not checking there :/

Categories

Resources