CN105260007B - Battery saving mode starts method, apparatus and terminal - Google Patents
Battery saving mode starts method, apparatus and terminal Download PDFInfo
- Publication number
- CN105260007B CN105260007B CN201510655663.1A CN201510655663A CN105260007B CN 105260007 B CN105260007 B CN 105260007B CN 201510655663 A CN201510655663 A CN 201510655663A CN 105260007 B CN105260007 B CN 105260007B
- Authority
- CN
- China
- Prior art keywords
- saving mode
- terminal
- power saving
- program
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000004891 communication Methods 0.000 claims description 22
- 230000008569 process Effects 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000003213 activating effect Effects 0.000 claims 1
- 238000009434 installation Methods 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 14
- 230000000977 initiatory effect Effects 0.000 description 11
- 230000004913 activation Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 230000002035 prolonged effect Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the present disclosure discloses a kind of battery saving mode and starts method, apparatus and terminal, when terminal detects the first battery saving mode enabled instruction, the information of the whole installation procedure in terminal is obtained, then, obtains user according to the selected target program of the information of installation procedure.System is generated according to target program and starts allocation list, and allocation list is started according to system and restarts terminal system.Battery saving mode provided in this embodiment starts method, user can be according to the actual demand option program of oneself or service, obtain target program, terminal system only starts most basic system program and the target program of user's selection, reduce the power consumption for the program that user does not use, to realize the power consumption for reducing terminal in the case where meeting user demand, extend the stand-by time of terminal.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a power saving mode starting method and apparatus.
Background
With the rapid development of electronic technology, intelligent terminals become one of the necessary products for people. The smart terminal has portability, and therefore, the battery capacity in the smart terminal is limited. And the intelligent terminal consumes electric quantity when running, even the intelligent terminal can also consume the electric quantity in a standby state. However, when the user is in a scene where charging is inconvenient, such as a business trip or a trip, if the power consumption of the smart terminal is too large, the standby time of the smart terminal is greatly reduced, and therefore, the user wants the standby time of the smart terminal to be as long as possible.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a power saving mode starting method, device and terminal.
In order to solve the technical problem, the embodiment of the present disclosure discloses the following technical solutions:
according to a first aspect of the embodiments of the present disclosure, there is provided a power saving mode starting method, including:
acquiring information of all installed programs in a terminal according to a first power saving mode starting instruction, wherein the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
acquiring a target program selected by a user according to the information of the installed program;
generating a system starting configuration table according to the target program;
and restarting the terminal system according to the system starting configuration table.
According to the power saving mode starting method provided by the first aspect, the user can select a program or service according to actual needs of the user to obtain a target program, the terminal system only starts the most basic system program and the target program selected by the user, and power consumption of programs not used by the user is reduced, so that power consumption of the terminal is reduced under the condition that the user needs are met, and standby time of the terminal is prolonged.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the information of the installed program includes power consumption information of an application program;
the acquiring information of all installed programs in the terminal comprises the following steps:
dynamically calculating the power consumption of each installed program in the terminal according to a preset algorithm, and correspondingly displaying each installed program and the corresponding power consumption;
or,
acquiring the power consumption of the installed program stored in the terminal;
or,
and acquiring the power consumption of the installed program from a cloud server.
The power saving mode starting method provided by the first possible implementation manner of the first aspect may obtain the power consumption information of the installed program on the terminal through any one of the foregoing manners, so that the flexibility of obtaining the power consumption information of the program in the terminal is improved, and the operation is simple.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
the terminal generates a first power saving mode starting instruction when detecting that a user selects the first power saving mode option in the starting process.
A second possible implementation manner of the first aspect provides a power saving mode starting method, which prompts a user whether to start a power saving mode during a terminal booting process, generates a first power saving mode starting instruction after detecting an operation of starting the power saving mode by the user, and starts the first power saving mode according to the first power saving mode starting instruction, so as to prompt the user to use the power saving mode as soon as possible, thereby further prolonging a standby time of the terminal.
With reference to the first aspect, in a third possible implementation manner of the first aspect, if the terminal has a communication service program, the method further includes:
when detecting that the user selects the operation of the second power saving mode option, generating a second power saving mode starting instruction;
and determining that a communication network service program is a target program according to the second power saving mode starting instruction, wherein the second power saving mode starting instruction is used for controlling the terminal to start a second power saving mode.
In the power saving mode starting method provided by the third possible implementation manner of the first aspect, the user may start the second power saving mode in an application scenario where charging is inconvenient, such as business trip or travel, and in this mode, the terminal only supports functions of making a call and receiving and sending short messages.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes: and configuring the screen brightness of the terminal to be the lowest brightness.
The power saving mode starting method provided by the fourth possible implementation manner of the first aspect can further reduce power consumption of the terminal to the maximum extent and prolong standby time of the terminal to the maximum extent after the screen brightness is configured to be the lowest brightness.
According to a second aspect of the embodiments of the present disclosure, there is provided a power saving mode starting apparatus including:
the terminal comprises a first acquisition module, a first storage module and a second acquisition module, wherein the first acquisition module is used for acquiring information of all installed programs in the terminal according to a first power saving mode starting instruction, and the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
the second acquisition module is used for acquiring the target program selected by the user according to the information of the installed program acquired by the first acquisition module;
the generating module is used for generating a system starting configuration table according to the target program obtained by the second obtaining module;
and the restarting module is used for restarting the terminal system according to the system starting configuration table generated by the generating module.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the information of the installed program includes power consumption information of an application program;
the first obtaining module comprises:
the calculation submodule is used for dynamically calculating the power consumption of each installed program in the terminal according to a preset algorithm and correspondingly displaying each installed program and the corresponding power consumption;
or,
the first acquisition submodule is used for acquiring the power consumption of the installed program stored in the terminal;
or,
and the second acquisition submodule is used for acquiring the power consumption of the installed program from the cloud server.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes:
the first instruction generating module is used for generating a first power saving mode starting instruction when detecting that the user selects the operation of the first power saving mode option in the terminal starting process.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes:
the second instruction generating module is used for generating a second power saving mode starting instruction when detecting that the user selects the operation of the second power saving mode option;
and the determining module is used for determining a communication network service program as a target program according to a second power saving mode starting instruction generated by the second instruction generating module, wherein the second power saving mode starting instruction is used for controlling the terminal to start a second power saving mode.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the apparatus further includes:
and the screen brightness configuration module is used for configuring the screen brightness of the terminal to be the lowest brightness.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring information of all installed programs in a terminal according to a first power saving mode starting instruction, wherein the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
acquiring a target program selected by a user according to the information of the installed program;
generating a system starting configuration table according to the target program;
and restarting the terminal system according to the system starting configuration table.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the terminal detects a first power saving mode starting instruction, information of all installed programs in the terminal is obtained, and then a target program selected by a user according to the information of the installed programs is obtained. And generating a system starting configuration table according to the target program, and restarting the terminal system according to the system starting configuration table. According to the power saving mode starting method provided by the embodiment, the user can select the program or service desired by the user, the terminal system is restarted, only the most basic system program and the target program selected by the user are started, and the power consumption of the program not used by the user is reduced, so that the power consumption of the terminal is reduced under the condition of meeting the user requirement, and the standby time of the terminal is prolonged.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a power saving mode initiation method according to an example embodiment;
FIG. 2 is a flow diagram illustrating another power saving mode initiation method in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another power saving mode initiation method in accordance with an exemplary embodiment;
FIG. 4 is a diagram illustrating a terminal display interface in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating another power saving mode initiation method in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a power saving mode initiation apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating another power saving mode initiation means in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating another power saving mode initiation means in accordance with an exemplary embodiment;
fig. 9 is a block diagram illustrating an apparatus for power saving mode initiation, according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a power saving mode starting method according to an exemplary embodiment, and as shown in fig. 1, the power saving mode starting method provided in this embodiment is used in a terminal, for example, a smart phone, a tablet computer, a smart wearable device, and the like. As shown in fig. 1, the method comprises the steps of:
in S110, according to the first power saving mode start instruction, information of all installed programs in the terminal is acquired; the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode.
And adding power-saving mode setting options in the system setting of the terminal, wherein the power-saving mode setting options comprise at least one power-saving mode. And when the terminal detects that the user selects the operation of the power saving mode, generating a power saving mode starting instruction.
The installed program refers to an application installed in the terminal, and information of the installed program may include a program name, reference power consumption amount, and the like.
The information of the installed program comprises power consumption information of the application program, and in one embodiment of the disclosure, the terminal dynamically calculates the power consumption of the installed program in the terminal according to a preset algorithm.
For example, the terminal records the power consumption before starting the application a; then, the application a is started, and the power consumption of the terminal in this state is calculated without changing the state of any other application. The difference between the power consumption amount after the application a is started and the power consumption amount before the application a is started is the power consumption amount of the application a.
In another embodiment of the present disclosure, a terminal manufacturer may measure power consumption through a power consumption test experiment, store the measured power consumption into a terminal, and directly obtain the power consumption from the terminal when the power consumption of an application program needs to be used.
In another embodiment of the disclosure, a terminal manufacturer may measure the power consumption through a power consumption test experiment and upload the power consumption to the cloud server, and when the power consumption of the application program needs to be used, the power consumption may be obtained from the cloud server.
In S120, the target program selected by the user according to the information of the installed program is acquired.
And after the terminal obtains the information of the installed program, displaying the installed program list to the user, wherein the user can select the target program from the installed program list.
In S130, a system boot configuration table is generated according to the target program.
And after the terminal obtains the target program selected by the user, generating a system starting configuration table, wherein the system starting configuration table only comprises the program or service selected by the user.
In S140, the terminal system is restarted according to the system startup configuration table.
And the terminal restarts the system, and the restarted system only has the most basic operating system of the system and the program or service selected by the user.
In the power saving mode starting method provided in this embodiment, when the terminal detects the first power saving mode starting instruction, information of all installed programs in the terminal is obtained, and then, a target program selected by a user according to the information of the installed programs is obtained. And generating a system starting configuration table according to the target program, and restarting the terminal system according to the system starting configuration table. According to the power saving mode starting method provided by the embodiment, the user can select the program or service according to the actual requirement of the user to obtain the target program, the terminal system only starts the most basic system program and the target program selected by the user, and the power consumption of the program not used by the user is reduced, so that the power consumption of the terminal is reduced under the condition of meeting the requirement of the user, and the standby time of the terminal is prolonged.
Fig. 2 is a flowchart illustrating another power saving mode starting method according to an exemplary embodiment, where the method further includes the following steps based on the embodiment illustrated in fig. 1:
in S210, when the terminal is in the power-on state, and an operation of selecting the first power saving mode option by the user is detected, a first power saving mode start instruction is generated.
When the terminal is in a power-on state, a user can select a first power saving mode from system settings, and when the terminal detects that the user selects the first power saving mode, a first power saving mode starting instruction is generated. Then, the terminal acquires information of all installed programs in the terminal according to the first power saving mode starting instruction.
In the power saving mode starting method provided in this embodiment, when the terminal is in the power-on state, a first power saving mode starting instruction is generated after detecting that the user selects an operation for starting the first power saving mode. Then, the terminal starts the first power saving mode according to the first power saving mode starting instruction. According to the method, when the terminal is in the power-on state, a user can start the first power saving mode at any time, and the operation is convenient.
Fig. 3 is a flowchart illustrating another power saving mode starting method according to an exemplary embodiment, where the method may further include the following steps based on the embodiment illustrated in fig. 1:
in S310, in the process of powering on the terminal, when detecting that the user selects the first power saving mode option, a first power saving mode start instruction is generated.
In this embodiment, in the terminal booting process, after detecting that the user selects the first power saving mode option, a first power saving mode starting instruction is generated, and then, a prompt message indicating whether to enter the power saving mode may be displayed to the user.
Fig. 4 is a schematic diagram of a display interface of a terminal, according to an exemplary embodiment, when the terminal is powered on, the display interface 110 is used to remind the user whether to enter the power saving mode, for example, "whether to start the first power saving mode" and controls "yes" and "no" may be displayed, and if the user selects the operation of the control "yes", a first power saving mode start instruction is generated.
In the power saving mode starting method provided in this embodiment, in a terminal booting process, a user is prompted whether to start a power saving mode, when an operation of starting the power saving mode by the user is detected, a first power saving mode starting instruction is generated, and the first power saving mode is started according to the first power saving mode starting instruction. The method can remind the user of using the power saving mode when the terminal is started, but the user is not reminded of using the power saving mode until the electric quantity is consumed to a certain value.
Fig. 5 is a flowchart illustrating another power saving mode initiation method according to an exemplary embodiment, which is applied to a terminal having a communication network service, for example, a mobile phone. As shown in fig. 5, the method may include the steps of:
in S410, a corresponding power saving mode start instruction is generated according to the detected operation of the user selecting the power saving mode.
If the operation that a user selects the first power saving mode is detected, a first power saving mode starting instruction is generated; and if the operation that the user selects the second power saving mode is detected, generating a second power saving mode starting instruction.
In S420, detecting a power saving mode start instruction type; the power saving mode start instruction types include a first power saving mode and a second power saving mode. If the received power saving mode activation instruction type is a first power saving mode activation instruction, executing S110; if the power saving mode activation instruction type is the second power saving mode activation instruction, S430 is performed.
In S430, the communications network service program is determined as the target program according to the second power saving mode activation instruction. The second power saving mode starting instruction is used for controlling the terminal to start the second power saving mode.
And the terminal is in a power-on state, or generates a second power-saving mode starting instruction after detecting that the user selects the second power-saving mode in the power-on process of the terminal.
The communication network service program is used for supporting the functions of dialing a telephone and receiving and sending short messages of the terminal. That is, after the terminal starts the second power saving mode, the terminal only supports the functions of making a call and receiving and sending short messages.
In S440, the screen brightness of the terminal is configured to be the lowest brightness.
The power consumption of the terminal can be further reduced by setting the screen brightness of the terminal to be the lowest brightness.
According to the power saving mode starting method provided by the embodiment, a user can start the second power saving mode in an application scene that charging is inconvenient during business trip, travel and the like, and in the mode, the terminal only supports the functions of dialing a call and receiving and sending short messages. Moreover, after the screen brightness is configured to be the lowest brightness, the power consumption of the terminal can be reduced to the maximum extent, and the standby time of the terminal can be prolonged to the maximum extent.
Corresponding to the embodiment of the power saving mode starting method, the disclosure also provides an embodiment of a power saving mode starting device.
Fig. 6 is a block diagram illustrating a power saving mode activation apparatus applied to a terminal, such as a smart phone, a tablet computer, and the like, according to an exemplary embodiment. As shown in fig. 6, the apparatus includes a first obtaining module 110, a second obtaining module 120, a generating module 130, and a restarting module 140.
The first obtaining module 110 is configured to obtain information of all installed programs in the terminal according to the first power saving mode start instruction. The first power saving mode starting instruction is used for controlling the terminal to start the first power saving mode.
The information of the installed program includes power consumption amount information of the application program.
In an embodiment of the present disclosure, the first obtaining module 110 includes a calculating submodule, and during a use process of the application program, the calculating submodule may dynamically calculate the power consumption of the application program through a preset algorithm. And correspondingly displaying each installed program and the corresponding power consumption on a display screen of the terminal. For example, a power consumption amount information table including a program name and a corresponding power consumption amount when an application is used is displayed on a display screen of the terminal.
In another embodiment of the present disclosure, the first obtaining module 110 includes a first obtaining sub-module, power consumption of the application program during the use process can be measured by a terminal manufacturer using a power consumption test experiment and stored in the terminal, and the first obtaining sub-module can read the power consumption of the application program stored in the terminal. The embodiment is applied to a scene of acquiring the power consumption of the application program carried by the terminal.
In another embodiment of the present disclosure, the first obtaining module 110 includes a second obtaining submodule, and the power consumption of the application obtained by the terminal itself or the terminal during growth can be uploaded to the cloud server, so that the second obtaining submodule can obtain the power consumption of the application from the cloud server.
The second acquisition module 120 is configured to acquire a target program selected by the user based on the information of the installed program acquired by the first acquisition module 110.
The user can select the target program according to the information of all installed programs in the terminal, which is obtained by the first obtaining module.
The generating module 130 is configured to generate a system start configuration table according to the target program obtained by the second obtaining module 120.
The generating module 130 generates a system startup configuration table according to the target program selected by the user.
The restart module 140 is configured to restart the terminal system according to the system start configuration table generated by the generation module 130.
The restart module 140 restarts the system according to the system startup configuration table generated by the generation module 130, and the restarted system only has the most basic operating system of the system and the program or service selected by the user.
The power saving mode activation apparatus provided in this embodiment, when detecting the first power saving mode activation instruction, acquires information of all installed programs in the terminal, and acquires the target program selected by the user according to the information of the installed programs. And then, generating a system starting configuration table according to the target program, and restarting the terminal system according to the system starting configuration table. In the power saving mode activation apparatus provided in this embodiment, a user can select a program or a service according to his/her needs to obtain a target program. And then, the terminal system is restarted, only the most basic system program and the target program selected by the user are started, and the power consumption of the program not used by the user is reduced, so that the power consumption of the terminal is reduced under the condition of meeting the user requirement, and the standby time of the terminal is prolonged.
Fig. 7 is a block diagram illustrating another power saving mode starting apparatus according to an exemplary embodiment, which is applied to a terminal, and as shown in fig. 7, the apparatus may further include a first instruction generating module 210 based on the embodiment shown in fig. 7.
The first instruction generating module 210 is configured to generate a first power saving mode starting instruction when detecting an operation of selecting a first power saving mode option by a user.
The first instruction generating module 210 generates a first power saving mode starting instruction when detecting that the user selects the first power saving mode option in the terminal power-on state, or the terminal may prompt the user whether to start the power saving mode in the power-on process, and generates the first power saving mode starting instruction when detecting that the user selects the first power saving mode option according to the prompt.
The power saving mode starting apparatus provided in this embodiment generates a first power saving mode starting instruction when the terminal is in a power-on state or the terminal detects an operation of selecting a first power saving mode option by a user during a power-on process, and enters the terminal into the first power saving mode according to the first power saving mode starting instruction. In the starting process, the user can select to start the power saving mode according to the prompt, so that the user can be prompted to use the power saving mode as soon as possible, and the standby time of the terminal is further prolonged.
Fig. 8 is a block diagram illustrating another power saving mode starting apparatus according to an exemplary embodiment, and as shown in fig. 8, the apparatus may further include a detection module 310, a second instruction generation module 320, a determination module 330, and a screen brightness configuration module 340.
The detection module 310 is configured to detect an operation in which a user selects a power saving mode.
The second instruction generating module 320 is configured to generate a second power saving mode starting instruction when detecting an operation of selecting the second power saving mode option by a user.
The second instruction generating module 320 may generate the second power saving mode start instruction when the terminal is in a power-on state, or during the power-on process of the terminal.
The determining module 330 is configured to determine that the communication network service program is the target program according to a second power saving mode starting instruction, where the second power saving mode starting instruction is used to control the terminal to start the second power saving mode.
And a screen brightness configuration module 340 for configuring the screen brightness of the terminal to be the lowest brightness.
The power saving mode starting device provided by the embodiment can start the second power saving mode in the application scene that a user is inconvenient to charge such as business trip or travel, and in the mode, the terminal only supports the functions of dialing and receiving and sending short messages. Moreover, after the screen brightness is configured to be the lowest brightness, the power consumption of the terminal can be reduced to the maximum extent, and the standby time of the terminal can be prolonged to the maximum extent.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an apparatus 400 for power saving mode initiation, according to an example embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
As shown in fig. 9, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable a terminal device to perform a power saving mode initiation method, the method comprising:
acquiring information of all installed programs in a terminal according to a first power saving mode starting instruction, wherein the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
acquiring a target program selected by a user according to the information of the installed program;
generating a system starting configuration table according to the target program;
and restarting the terminal system according to the system starting configuration table.
In one embodiment of the present disclosure, the information of the installed program includes power consumption information of an application program;
the acquiring information of all installed programs in the terminal comprises the following steps:
dynamically calculating the power consumption of each installed program in the terminal according to a preset algorithm, and correspondingly displaying each installed program and the corresponding power consumption;
or,
acquiring the power consumption of the installed program stored in the terminal;
or,
and acquiring the power consumption of the installed program from a cloud server.
In another embodiment of the present disclosure, the method further comprises:
the terminal generates a first power saving mode starting instruction when detecting that a user selects the first power saving mode option in the starting process.
In another embodiment of the present disclosure, if the terminal has a communication service program, the method further includes:
when detecting that the user selects the operation of the second power saving mode option, generating a second power saving mode starting instruction;
and determining that a communication network service program is a target program according to the second power saving mode starting instruction, wherein the second power saving mode starting instruction is used for controlling the terminal to start a second power saving mode.
In another embodiment of the present disclosure, the method further comprises: and configuring the screen brightness of the terminal to be the lowest brightness.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (9)
1. A method for starting a power saving mode of a terminal, comprising:
the method comprises the steps that in the starting process of the terminal, when the operation that a user selects a first power saving mode option is detected, a first power saving mode starting instruction is generated;
acquiring information of all installed programs in a terminal according to a first power saving mode starting instruction, wherein the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
acquiring a target program selected by a user according to the information of the installed program;
generating a system starting configuration table according to the target program;
and restarting the terminal system according to the system starting configuration table.
2. The method of claim 1, wherein the information of the installed program comprises power consumption information of an application program;
the acquiring information of all installed programs in the terminal comprises the following steps:
dynamically calculating the power consumption of each installed program in the terminal according to a preset algorithm, and correspondingly displaying each installed program and the corresponding power consumption;
or,
acquiring the power consumption of the installed program stored in the terminal;
or,
and acquiring the power consumption of the installed program from a cloud server.
3. The method of claim 1, wherein if the terminal has a communication network service program, the method further comprises:
when detecting that the user selects the operation of the second power saving mode option, generating a second power saving mode starting instruction;
and determining that a communication network service program is a target program according to the second power saving mode starting instruction, wherein the second power saving mode starting instruction is used for controlling the terminal to start a second power saving mode.
4. The method of claim 3, further comprising: and configuring the screen brightness of the terminal to be the lowest brightness.
5. A terminal power saving mode activating apparatus, comprising:
the first instruction generating module is used for generating a first power saving mode starting instruction when detecting that a user selects the operation of a first power saving mode option in the terminal starting process;
the terminal comprises a first acquisition module, a first storage module and a second acquisition module, wherein the first acquisition module is used for acquiring information of all installed programs in the terminal according to a first power saving mode starting instruction, and the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
the second acquisition module is used for acquiring the target program selected by the user according to the information of the installed program acquired by the first acquisition module;
the generating module is used for generating a system starting configuration table according to the target program obtained by the second obtaining module;
and the restarting module is used for restarting the terminal system according to the system starting configuration table generated by the generating module.
6. The apparatus of claim 5, wherein the information of the installed program comprises power consumption information of an application program;
the first obtaining module comprises:
the calculation submodule is used for dynamically calculating the power consumption of each installed program in the terminal according to a preset algorithm and correspondingly displaying each installed program and the corresponding power consumption;
or,
the first acquisition submodule is used for acquiring the power consumption of the installed program stored in the terminal;
or,
and the second acquisition submodule is used for acquiring the power consumption of the installed program from the cloud server.
7. The apparatus of claim 5, further comprising:
the second instruction generating module is used for generating a second power saving mode starting instruction when detecting that the user selects the operation of the second power saving mode option;
and the determining module is used for determining a communication network service program as a target program according to a second power saving mode starting instruction generated by the second instruction generating module, wherein the second power saving mode starting instruction is used for controlling the terminal to start a second power saving mode.
8. The apparatus of claim 7, further comprising:
and the screen brightness configuration module is used for configuring the screen brightness of the terminal to be the lowest brightness.
9. A terminal device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the process of starting the terminal, when detecting that a user selects the operation of a first power saving mode option, generating a first power saving mode starting instruction;
acquiring information of all installed programs in a terminal according to a first power saving mode starting instruction, wherein the first power saving mode starting instruction is used for controlling the terminal to start a first power saving mode;
acquiring a target program selected by a user according to the information of the installed program;
generating a system starting configuration table according to the target program;
and restarting the terminal system according to the system starting configuration table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510655663.1A CN105260007B (en) | 2015-10-12 | 2015-10-12 | Battery saving mode starts method, apparatus and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510655663.1A CN105260007B (en) | 2015-10-12 | 2015-10-12 | Battery saving mode starts method, apparatus and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105260007A CN105260007A (en) | 2016-01-20 |
| CN105260007B true CN105260007B (en) | 2018-10-02 |
Family
ID=55099732
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510655663.1A Active CN105260007B (en) | 2015-10-12 | 2015-10-12 | Battery saving mode starts method, apparatus and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105260007B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105912672B (en) * | 2016-04-11 | 2019-08-02 | Oppo广东移动通信有限公司 | A kind of document reading method and terminal |
| CN106647942A (en) * | 2016-12-07 | 2017-05-10 | 安徽华米信息科技有限公司 | Wearable equipment control method and device and wearable equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102841672A (en) * | 2012-07-10 | 2012-12-26 | 上海果壳电子有限公司 | Dormancy interception method and system |
| CN103440031A (en) * | 2013-09-11 | 2013-12-11 | 广州市久邦数码科技有限公司 | Power-saving system and method for automatically optimizing mobile terminal screen off |
| CN104156053A (en) * | 2014-07-29 | 2014-11-19 | 深圳市中兴移动通信有限公司 | Abnormal power consumption control method, abnormal power consumption control device and mobile terminal |
| CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method and terminal for waking up terminal system |
| CN104238717A (en) * | 2013-06-20 | 2014-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2015
- 2015-10-12 CN CN201510655663.1A patent/CN105260007B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102841672A (en) * | 2012-07-10 | 2012-12-26 | 上海果壳电子有限公司 | Dormancy interception method and system |
| CN104238717A (en) * | 2013-06-20 | 2014-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN103440031A (en) * | 2013-09-11 | 2013-12-11 | 广州市久邦数码科技有限公司 | Power-saving system and method for automatically optimizing mobile terminal screen off |
| CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method and terminal for waking up terminal system |
| CN104156053A (en) * | 2014-07-29 | 2014-11-19 | 深圳市中兴移动通信有限公司 | Abnormal power consumption control method, abnormal power consumption control device and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105260007A (en) | 2016-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3136793B1 (en) | Method and apparatus for awakening electronic device | |
| CN105573472B (en) | A kind of method and apparatus for closing application program | |
| US10292004B2 (en) | Method, device and medium for acquiring location information | |
| CN106774774B (en) | Method and device for displaying electric quantity of terminal battery | |
| KR101900405B1 (en) | Method and device for charge management, program and recording medium | |
| EP3133466B1 (en) | Method and device for reminding in shutdown state | |
| CN106371643B (en) | Touch chip crash handling method and device | |
| US9491371B2 (en) | Method and device for configuring photographing parameters | |
| CN107438811B (en) | Information screen display method and device | |
| JP2016538663A (en) | Method and apparatus for controlling background application and terminal apparatus | |
| US9749454B2 (en) | Method and device for controlling smart device | |
| US10042328B2 (en) | Alarm setting method and apparatus, and storage medium | |
| US10234924B2 (en) | Method and apparatus for displaying time on mobile device | |
| EP3076745A1 (en) | Methods and apparatuses for controlling wireless access point | |
| CN105807894B (en) | Using the treating method and apparatus for holding lock | |
| CN104010072A (en) | Electric quantity prompt method and device | |
| CN105955441A (en) | Method and device for application management | |
| CN107515749A (en) | Method and device for starting up electronic equipment, and electronic equipment | |
| CN108965606B (en) | Method and device for determining ambient temperature | |
| CN105260007B (en) | Battery saving mode starts method, apparatus and terminal | |
| CN105204841A (en) | Measuring range adjusting method and measuring range adjusting device | |
| CN104301708B (en) | 3D display method, device and terminal | |
| CN106776204B (en) | Method and device for determining power consumption application | |
| CN108539823B (en) | Charging method and device | |
| CN107360315B (en) | Information display method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |