I'd like to debug and fix it but other things have priority, and I don't feel confident that if I were able to fix, that my change would be merged. Oy!
https://code.google.com/p/android/issues/detail?id=62938
Edit: I should mention, they did fix part of it after about 6 months in the wild (the part where the barometer crashed all the sensors). What they haven't fixed is that the barometer doesn't actually reliably work.
Edit #2: Interestingly, I might have to eat some of my words. I'm just testing on 5.0.1 for the first time and haven't been able to reproduce the issues present from 4.0 through 5.0. Maybe it's actually fixed in 5.0.1!! Of course, I've only been testing for 10 minutes and it could still surface. For reference, the remaining bug is that the barometer periodically reports seemingly random values. 5mb, 730mb, 1004mb, 740mb, 300mb, 3mb, 750mb, etc. Now it seems to be stable and generally reporting the same values. Interesting.
Edit #3: A pastebin showing that it seems to be working after a few minutes of use. http://pastebin.com/RdBqbWzC
Edit #4: If you're curious why I care, it's for PressureNet to make a better weather forecast :) https://play.google.com/store/apps/details?id=ca.cumulonimbu...