The invention relates to an eye protecting device and method for a mobile terminal. The
eye protecting device comprises a
distance measurement unit, a
central processing unit and an alarm prompt unit. The working principle of the
eye protecting device is that when the mobile terminal starts an eye protecting function, the distance between a user and the mobile terminal is measured through the
distance measurement unit in real time, and measurement results are transmitted to the
central processing unit; when the distance between the user and the mobile terminal is smaller than the
set distance threshold value all the time within the set time threshold value, an alarm prompt message is transmitted to the user through the alarm prompt unit to prompt the user to keep a healthy range of
visibility, display of the mobile terminal returns to normal until the distance between the user and the mobile terminal is larger than the
set distance threshold value again, the alarm prompt message disappears, and therefore, the healthy range of
visibility between the user and the mobile terminal is kept. Furthermore, when the reminding interval time is up and the user uses the mobile terminal without rest, an alarm prompt message is transmitted to the user through the alarm prompt unit, and the purposes of preventing shortsightedness and protecting eyes are achieved.