A display device comprising: a first body and a second body, wherein a folding portion is provided between the first body and the second body; an angle sensing unit configured to sense a folding angle between the first body and the second body; an input sensing unit configured to detect an input signal; a display unit configured to display visual information; a communication unit configured to receive data from an external network; and a processor configured to control the angle sensing unit, the input sensing unit, the display unit, and the communication unit, wherein the processor is further configured to: detect occurrence of an event, wherein the event corresponds to receipt of data by the communication unit, if a notification mode that provides a notification about the occurred event is a first vibration mode, obtain a folding condition, wherein the folding condition includes a first condition in which the folding angle between the first body and the second body is within a predetermined angle range and a second condition in which the folding angle is outside the predetermined angle range, if the folding condition is the first condition, maintain the first vibration mode and provide a notification about the occurred event via vibration, if the folding condition is the second condition, switch from the first vibration mode to a safety mode and provide the notification about the occurred event in the safety mode, wherein the safety mode represents a notification mode different from the first vibration mode, and display an indicator representing the type of the notification mode. a first body and a second body, wherein a folding portion is provided between the first body and the second body; an angle sensing unit configured to sense a folding angle between the first body and the second body; an input sensing unit configured to detect an input signal; a display unit configured to display visual information; a communication unit configured to receive data from an external network; and a processor configured to control the angle sensing unit, the input sensing unit, the display unit, and the communication unit, wherein the processor is further configured to: detect occurrence of an event, wherein the event corresponds to receipt of data by the communication unit, if a notification mode that provides a notification about the occurred event is a first vibration mode, obtain a folding condition, wherein the folding condition includes a first condition in which the folding angle between the first body and the second body is within a predetermined angle range and a second condition in which the folding angle is outside the predetermined angle range, if the folding condition is the first condition, maintain the first vibration mode and provide a notification about the occurred event via vibration, if the folding condition is the second condition, switch from the first vibration mode to a safety mode and provide the notification about the occurred event in the safety mode, wherein the safety mode represents a notification mode different from the first vibration mode, and display an indicator representing the type of the notification mode. detect occurrence of an event, wherein the event corresponds to receipt of data by the communication unit, if a notification mode that provides a notification about the occurred event is a first vibration mode, obtain a folding condition, wherein the folding condition includes a first condition in which the folding angle between the first body and the second body is within a predetermined angle range and a second condition in which the folding angle is outside the predetermined angle range, if the folding condition is the first condition, maintain the first vibration mode and provide a notification about the occurred event via vibration, if the folding condition is the second condition, switch from the first vibration mode to a safety mode and provide the notification about the occurred event in the safety mode, wherein the safety mode represents a notification mode different from the first vibration mode, and display an indicator representing the type of the notification mode.