> Actually it was a bit unexpected that it would have known to do that; it must have used its complete IMU data to even know it was rolled, as plain accelerometer would have been pointing "down" as usual.
That actually feels like overengineering based on well-intentioned, but wrong specs. You probably want to just use sideways acceleration for "falling over" detection, instead of roll.