partial Revert "Revert "Additional sensors fix (Credit to Chrissi Coo…

…l)""

forked from xda garwynn