Aside from the widget simply reading what you hardware reports, this doesn’t seem like Blynk specific issue. Might I suggest Googling for your particular phone and issue… It seems there have been many…
I don’t use the accelerometer much… but further tests or three different androids seems to indicate a Z axis reading in the 9.x as normal I would recommend further Googling about interpreting the sensors output.
All hardware accelerometers are subject to failure, furthermore I suggested that it could be hardware. Until we know of the Blynk app 2.27.1 running on Android 8.1 reporting z accelerations close to zero we cannot determine if this is a Blynk issue or a hardware issue.
I am ignoring the z axis for my needs. The report is here for the potential that it is a Blynk app bug.
Easiest way to confirm is to compare with a non-Blynk reading of the same sensor. On two different phones, using another App, I see a lying flat reading of -0.99 so it could be a rounding or decimal error
with Blynk??
I will leave this as is. But if you wish to pursue the bug hunt, I would recommend also mentioning that the reading rate doesn’t seem to actually change the rate of reading. I was not using any code to test, just a simple Accelerometer Widget and a Display Widget on same vPin… and blinking fast to see the results
I have not yet tried the gravity widget yet, but I would expect it to return what the accelerometer is returning, and that the difference is that 9.8 would be subtracted from the z in the acceleorometer.
If z is positive going up, then in fact the phone is not in free fall but the opposite.
It is not clear what the expected difference is between the two widgets.