Method and apparatus for prompting battery level
AssigneeVivo Mobile Communication Co., Ltd.
InventorsYangqin Li, Jianhui Wang
Life of this patent
Estimating the term…
Abstract
A method for prompting a battery level is provided. The method includes: obtaining a display mode of a current interface of an electronic device when the electronic device is in an uncharged state and a battery level of the electronic device is less than a first preset battery level. The method further includes performing a target adjustment operation based on the display mode of the current interface. The target adjustment operation is associated with the display mode of the current interface. The display mode of the current interface includes a full-screen mode or a non-full-screen mode.
Claims16
A method for prompting a battery level, comprising:
- detecting a display mode of a current interface of an electronic device in response to that the electronic device is in an uncharged state and a battery level of the electronic device falls below a first preset battery level;
- performing a target adjustment operation based on the display mode of the current interface, wherein:
- the target adjustment operation adjusts a target attribute parameter comprising at least one of a volume parameter or a screen display parameter, and the target adjustment operation is associated with the display mode of the current interface, and the display mode of the current interface comprises a full-screen mode or a non-full-screen mode;
- receiving an adjustment input by a user to counter the adjustment of the target attribute parameter made by the target adjustment operation;
- and
- in response to the adjustment input received, determining that the electronic device needs to be charged and outputting first prompt information to prompt the electronic device to be charged, wherein:
- when the target adjustment operation is used to reduce the target attribute parameter, the adjustment input is used to increase the target attribute parameter;
- when the target adjustment operation is used to increase the target attribute parameter, the adjustment input is used to reduce the target attribute parameter;
- or
- when the target adjustment operation is used to perform at least one of enlarging a status bar of the electronic device or enlarging a battery level mark in the status bar, the adjustment input comprises at least one of decreasing the status bar of the electronic device or decreasing the battery level mark in the status bar.
An electronic device, comprising:
- a processor;
- and a memory having a computer program or an instruction stored thereon, wherein the computer program or the instruction, when executed by the processor, causes the processor to perform operations comprising:
- detecting a display mode of a current interface of the electronic device in response to that the electronic device is in an uncharged state and a battery level of the electronic device falls below a first preset battery level;
- performing a target adjustment operation based on the display mode of the current interface, wherein:
- the target adjustment operation adjusts a target attribute parameter comprising at least one of a volume parameter or a screen display parameter, and the target adjustment operation is associated with the display mode of the current interface, and the display mode of the current interface comprises a full-screen mode or a non-full-screen mode;
- receiving an adjustment input by a user to counter the adjustment of the target attribute parameter made by the target adjustment operation;
- and
- in response to the adjustment input received, determining that the electronic device needs to be charged and outputting first prompt information to prompt the electronic device to be charged, wherein:
- when the target adjustment operation is used to reduce the target attribute parameter, the adjustment input is used to increase the target attribute parameter;
- when the target adjustment operation is used to increase the target attribute parameter, the adjustment input is used to reduce the target attribute parameter;
- or
- when the target adjustment operation is used to perform at least one of enlarging a status bar of the electronic device or enlarging a battery level mark in the status bar, the adjustment input comprises at least one of decreasing the status bar of the electronic device or decreasing the battery level mark in the status bar.
A non-transitory computer readable storage medium storing a computer program or an instruction that, when executed by a processor, causes the processor to perform operations comprising:
- detecting a display mode of a current interface of an electronic device when the electronic device is in an uncharged state and a battery level of the electronic device falls below a first preset battery level;
- performing a target adjustment operation based on the display mode of the current interface, wherein:
- the target adjustment operation adjusts a target attribute parameter comprising at least one of a volume parameter or a screen display parameter, and the target adjustment operation is associated with the display mode of the current interface, and the display mode of the current interface comprises a full-screen mode or a non-full-screen mode;
- receiving an adjustment input by a user to counter the adjustment of the target attribute parameter made by the target adjustment operation;
- and
- in response to the adjustment input received, determining that the electronic device needs to be charged and outputting first prompt information to prompt the electronic device to be charged, wherein:
- when the target adjustment operation is used to reduce the target attribute parameter, the adjustment input is used to increase the target attribute parameter;
- when the target adjustment operation is used to increase the target attribute parameter, the adjustment input is used to reduce the target attribute parameter;
- or
- when the target adjustment operation is used to perform at least one of enlarging a status bar of the electronic device or enlarging a battery level mark in the status bar, the adjustment input comprises at least one of decreasing the status bar of the electronic device or decreasing the battery level mark in the status bar.
Dependencies are inferred from the claim text.