This sounds like a concern in the instrument cluster itself. Testing will be required using diagnostic equipment to verify the concern when it is occurring.
RepairPal Certified shops can diagnose and repair your 2010 Nissan Sentra. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.