An operation method, adapted for an electronic device with an auxiliary lighting function, wherein the electronic device comprises a first body, a display screen, a light-emitting module, a processing module, and a light sensing element, the display screen is disposed in a screen area of the first body, and the light-emitting module is disposed in a border area of the first body, and wherein the operation method comprises:
- activating, by the processing module, the light-emitting module in the border area to emit an auxiliary illumination light surrounding the screen area according to whether a required condition is triggered, wherein the required condition comprises:
- determining, by the processing module, whether an ambient light intensity obtained by the light sensing element is greater than a threshold to serve as the required condition of whether to activate the auxiliary illumination light;
- determining, by the processing module, whether the ambient light intensity reaches within a range of a sensing interval to serve as the required condition of whether to activate the auxiliary illumination light;
- activating, by the processing module, the auxiliary illumination light and displaying, by the display screen, current lighting intensity information of the light-emitting module when the ambient light intensity does not reach within the range of the sensing interval;
- and
- turning off, by the processing module, the auxiliary illumination light when the ambient light intensity reaches within the range of the sensing interval;
- determining, by the processing module, whether electrical energy of the electronic device is provided by a battery or a power plug;
- when the electrical energy is provided by the power plug in a current power supply status, adjusting, by the processing module, the auxiliary illumination light dynamically based on a distance between a user and the first body, comprising:
- adjusting, by the processing module, a brightness of the auxiliary illumination light to be greater when the distance is relatively long;
- and
- adjusting, by the processing module, the brightness of the auxiliary illumination light to be less when the distance is relatively short,
- wherein the display screen is a touch display screen;
- and
- correspondingly changing brightness of a portion of the light-emitting module extended along a first direction in the border area according to adjustment of a first virtual adjustment button displayed on the touch display screen, wherein a position of the first virtual adjustment button is adapted to be correspondingly adjusted in the first direction according to a touch gesture;
- or
- correspondingly changing brightness of a portion of the light-emitting module extended along a second direction in the border area according to adjustment of a second virtual adjustment button displayed on the touch display screen, wherein a position of the second virtual adjustment button is adapted to be correspondingly adjusted in the second direction according to another touch gesture.