EV3Dev Gyro sensor doesn't output values beneath 0
I'm assuming you are using ev3dev-lang-java. It looks like this bug was fixed in v2.6.0. Source.
Make sure you are using the latest version. With your EV3 connected to the Internet, run sudo apt udpate &amp;&amp; sudo apt upgrade.