This issue doesn't seem to be anyhow connected to GrapheneOS.
Please make sure that you are running the official stable release of GrapheneOS, by using the attestation service for example.
Please make sure that there are no magnetic objects in the vicinity of your phone.
Please make sure that no physical damage was dealt to your phone.
If nothing of the above said things apply, please contact Google Support.