When the shading is flat these edges do not appear but when shaded smooth with auto-smooth they appear when I go over 22 degrees, how doo I fix this?
It's probably because the vertices on the flat surface are not... well... flat
In edit mode and side view, box select the vertices that make up the flat surface and press S 0
Another issue could be the angle of the indent for the buttons and screen
Pushing the extruded vertices down a little more will increase the angle.