CN105137831B - Energy-saving mode open method and device - Google Patents
Energy-saving mode open method and device Download PDFInfo
- Publication number
- CN105137831B CN105137831B CN201510471327.1A CN201510471327A CN105137831B CN 105137831 B CN105137831 B CN 105137831B CN 201510471327 A CN201510471327 A CN 201510471327A CN 105137831 B CN105137831 B CN 105137831B
- Authority
- CN
- China
- Prior art keywords
- energy
- saving mode
- battery
- current
- voltage
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The disclosure discloses a kind of energy-saving mode open method and device, belongs to electronic circuit field.The energy-saving mode open method includes:Obtain the current voltage of battery in smart machine;If the current voltage is less than the first predetermined voltage and the battery is in discharge condition, the discharge current of the battery is monitored;If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, the energy-saving mode of open system grade chip.By being monitored to the discharge current less than the first predetermined voltage, when the discharge current for monitoring that continuously predetermined sampling obtains is all higher than predetermined current threshold, the energy-saving mode of open system grade chip;Solve the problems, such as that cell voltage can make smart machine shut down suddenly even lower than preset minimum voltage suddenly;The effect for when preventing cell voltage suddenly even lower than preset minimum voltage, smart machine being caused to shut down suddenly is reached.
Description
Technical field
This disclosure relates to electronic circuit field, more particularly to a kind of energy-saving mode open method and device.
Background technology
In the design of smart machine, it will usually the minimum voltage for presetting a battery, when the cell voltage of smart machine
When less than the preset minimum voltage, shutdown can be automatically closed in the power management chip of smart machine.
During normal use, the cell voltage of smart machine is not steadily to decline, and field is used according to different
The voltage of scape, battery has corresponding fluctuation, and especially when system moment high-current consumption, cell voltage can decline suddenly
Even lower than preset minimum voltage, can make smart machine shut down suddenly at this time.
Invention content
Even lower than preset minimum voltage smart machine can be shut down suddenly suddenly to solve cell voltage
The problem of, the disclosure provides a kind of universal electricity-saving pattern open method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of energy-saving mode open method is provided, the method includes:
The current voltage of battery in smart machine is obtained, the current voltage is the current residual electricity of the battery;
If the current voltage is less than the first predetermined voltage and the battery is in discharge condition, the battery is put
Electric current is monitored;
If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, open system grade core
The energy-saving mode of piece, the system level chip under energy-saving mode execute power save function.
Optionally, the energy-saving mode of the open system grade chip, including:
The general I/O port GPIO controlled in the smart machine exports the first level, and first level is used for
Control system grade chip enters energy-saving mode.
Optionally, the method further includes:
After the energy-saving mode for opening the system level chip, monitor the system level chip enter energy-saving mode when
It is long, it when the duration reaches scheduled duration, then controls the system level chip and restores default mode of operation, under default mode of operation
The system level chip forbid power save function.
Optionally, the control system level chip restores default mode of operation, including:
The general I/O port GPIO output second electrical levels in the smart machine are controlled, the second electrical level is used for
It controls the system level chip and restores the default mode of operation.
Optionally, the method further includes:
If the battery is switched to charged state from the discharge condition or the cell voltage is more than the second predetermined voltage,
Then stop being monitored the discharge current of the battery, second predetermined voltage is more than first predetermined voltage.
Optionally, the method further includes:
When stopping being monitored the discharge current of the battery, detect whether the system level chip is economize on electricity mould
Formula;
If the system level chip is the energy-saving mode, controls the system level chip and restore default mode of operation.
According to the second aspect of the embodiment of the present disclosure, a kind of energy-saving mode opening device is provided, described device includes:
Acquisition module is configured as obtaining the current voltage of battery in smart machine, and the current voltage is the battery
Current residual electricity;
Monitoring modular, the current voltage for being configured as obtaining when the acquisition module are less than the first predetermined voltage and the electricity
When pond is in discharge condition, the discharge current of the battery is monitored;
It is big to be configured as the discharge current obtained to continuous predetermined sampling when the monitoring module monitors for power-saving module
When predetermined current threshold, the energy-saving mode of open system grade chip, the system level chip under energy-saving mode executes economize on electricity
Operation.
Optionally, the power-saving module is additionally configured to control the general I/O port GPIO in the smart machine
The first level is exported, first level enters energy-saving mode for control system grade chip.
Optionally, described device further includes:
Recovery module is configured as after the energy-saving mode for opening the system level chip, monitors the system level chip
Into the duration of energy-saving mode, when the duration reaches scheduled duration, then controls the system level chip and restore acquiescence Working mould
Formula, the system level chip under default mode of operation forbid power save function.
Optionally, the recovery module is additionally configured to control the general I/O port GPIO in the smart machine
Second electrical level is exported, the second electrical level restores the default mode of operation for controlling the system level chip.
Optionally, described device further includes:
Stopping modular is configured as being switched to charged state or the cell voltage from the discharge condition when the battery
When more than the second predetermined voltage, stopping is monitored the discharge current of the battery, and second predetermined voltage is more than described
First predetermined voltage.
Optionally, described device further includes:
Detection module is configured as when stopping modular stopping is monitored the discharge current of the battery, inspection
Survey whether the system level chip is energy-saving mode;
Control module is configured as when the detection module detects that the system level chip is the energy-saving mode,
It controls the system level chip and restores default mode of operation.
According to the third aspect of the embodiment of the present disclosure, a kind of energy-saving mode opening device is provided, described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
The current voltage of battery in smart machine is obtained, the current voltage is the current residual electricity of the battery;
If the current voltage is less than the first predetermined voltage and the battery is in discharge condition, the battery is put
Electric current is monitored;
If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, open system grade core
The energy-saving mode of piece, the system level chip under energy-saving mode execute power save function.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By being monitored to the discharge current less than the first predetermined voltage, when monitoring what continuously predetermined sampling obtained
When discharge current is all higher than predetermined current threshold, the energy-saving mode of open system grade chip;It solves under cell voltage meeting suddenly
Drop is even lower than the problem of preset minimum voltage makes smart machine shut down suddenly;Having reached prevents cell voltage from declining suddenly
Even lower than preset minimum voltage when, the effect that causes smart machine to shut down suddenly.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited
It is open.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of energy-saving mode open method shown according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of the energy-saving mode open method shown according to another exemplary embodiment;
Fig. 2 B are the schematic diagrames according to the continuous discharge current sample result shown in an exemplary embodiment;
Fig. 3 is a kind of block diagram of energy-saving mode opening device shown according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the energy-saving mode opening device shown according to another exemplary embodiment;
Fig. 5 is a kind of block diagram for opening the device of energy-saving mode shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of energy-saving mode open method shown according to an exemplary embodiment, the energy-saving mode
Open method be applied to smart machine in, smart machine said here can be smart mobile phone, tablet computer, smart television,
Multimedia player etc..As shown in Figure 1, the energy-saving mode open method includes the following steps.
In a step 101, the current voltage of battery in smart machine is obtained.
In a step 102, if current voltage is less than the first predetermined voltage and battery is in discharge condition, battery is put
Electric current is monitored.
In step 103, if monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold,
The energy-saving mode of open system grade chip, the system level chip under energy-saving mode execute power save function.
In conclusion the energy-saving mode open method provided in the embodiment of the present disclosure, by being less than the first predetermined voltage
Discharge current be monitored, when the discharge current for monitoring that continuously predetermined sampling obtains is all higher than predetermined current threshold,
The energy-saving mode of open system grade chip;Intelligence can be made even lower than preset minimum voltage suddenly by solving cell voltage
The problem of energy equipment is shut down suddenly;Reach when preventing cell voltage suddenly even lower than preset minimum voltage, has caused
The effect that smart machine shuts down suddenly.
Fig. 2A is a kind of flow chart of the energy-saving mode open method shown according to another exemplary embodiment, the economize on electricity mould
Formula open method is applied in smart machine, and smart machine said here can be smart mobile phone, tablet computer, intelligence electricity
Depending on, multimedia player etc..As shown in Figure 2 A, which includes the following steps.
In step 201, the current voltage of battery in smart machine is obtained.
The current voltage of battery mentioned here is the current residual electricity of battery in smart machine, and smart machine is in and opens
When opening state, cell voltage can be gradually decreased with the time.
In step 202, if current voltage is less than the first predetermined voltage and battery is in discharge condition, battery is put
Electric current is monitored.
If smart machine because the remaining capacity of battery is forced to close after exhausting, may accelerate smart machine hardware for a long time
Loss, in order to avoid such case a, it is generally the case that predetermined voltage can be arranged in smart machine in manufacturer, when battery electricity
After pressure drops to predetermined voltage, smart machine can be automatically closed.Smart machine suddenly falls to predetermined electricity because of voltage in order to prevent
Pressure is following to make smart machine shut down suddenly, and first predetermined voltage, the first predetermined voltage can be set in smart machine
Higher than scheduled voltage, once the current voltage of battery is less than the first predeterminated voltage in smart machine and battery is in electric discharge shape
State is then monitored the discharge current of battery.
In step 203, if monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold,
The energy-saving mode of open system grade chip, the system level chip under energy-saving mode execute power save function.
Under normal conditions, when smart machine opens the larger program of one or more power consumptions, which can be in
Busy condition, the current value of the smart machine discharge current and amplitude of variation can be bigger at this time, and are waited for when smart machine is in
When machine state, the current value and amplitude of variation of the smart machine discharge current can be smaller, therefore " scheduled current mentioned here
Threshold values " is usually arranged as that the current value of busy condition is in standby and be in less than smart machine higher than smart machine.
After smart machine starts to be monitored the discharge current of battery, discharge current is adopted every scheduled duration
Sample then starts the current value to sample rate current when monitoring that the current value of present sample electric current is more than predetermined current threshold
Number more than predetermined current threshold is counted, i.e., number is added to 1 from initial value 0, current per continuously monitoring later
The current value of sample rate current is more than predetermined current threshold, and number adds 1;When monitoring that the current value of present sample electric current is less than or waits
In predetermined current threshold, number restores initial value.That is, the current value that number here is the electric current that continuous sampling is arrived is more than in advance
The sampling number of constant current threshold value.
When continuous sampling to electric current current value be more than predetermined current threshold sampling number reach predetermined value when, open
The energy-saving mode of system level chip, after energy-saving mode unlatching, System on Chip/SoC can carry out a series of economize on electricitys to cell phone intelligent equipment
Operation, such as:Smart machine central processor CPU frequency is reduced, smart machine part core cpu is closed, reduces smart machine
Background light brightness, shortening screen stand-by time, closing running background program etc., this programme can be to cell phone intelligent to System on Chip/SoC
The battery saving mode that equipment is taken does not limit.
Fig. 2 B are referred to, are the schematic diagrames of the continuous discharge current sample result shown in an exemplary embodiment, are such as schemed
Shown in 2B (1), Is is predetermined current threshold, if the number that the current value of sample rate current is more than predetermined current threshold is opened when reaching 8
The energy-saving mode of starting system grade chip starts pair when current voltage is in discharge condition less than the first predetermined voltage and battery
The discharge current of battery is monitored.When monitoring that the discharge current of T3 moment batteries is more than Is, start to sample rate current
The number that current value is more than predetermined current threshold is counted, secondary when detecting that the discharge current of T4 moment batteries is more than Is
Number plus 1, when detecting that the discharge current of T5 moment batteries is more than Is, number adds 1 again, and so on, when count value reaches 8,
That is the energy-saving mode of T10 moment open systems grade chip.
As shown in Fig. 2 B (2), Is is time of the current value more than predetermined current threshold that predetermined current threshold sets sample rate current
The energy-saving mode of open system grade chip when number reaches 8, when current voltage is less than the first predetermined voltage and battery is in electric discharge shape
When state, start to be monitored the discharge current of battery.When monitoring that the discharge current of T2 moment batteries is more than Is, start pair
The number that the current value of sample rate current is more than predetermined current threshold is counted, when detecting that the discharge current of T6 moment batteries is small
When Is, number restores initial value, when monitoring that the discharge current of T7 moment batteries is more than Is, restarts to sample rate current
Current value be more than the number of predetermined current threshold and counted, therefore, at the T10 moment, count not up to 8, therefore be not turned on
The energy-saving mode of system level chip simultaneously continues to monitor to the discharge current of battery.
In one possible implementation, predetermined if monitoring that discharge current that continuously predetermined sampling obtains is all higher than
Current threshold when control system grade chip being needed to enter energy-saving mode, can control universal input/output in smart machine
Mouth GPIO exports the first level, and the first level of GPIO outputs can be used for control system grade chip and enter energy-saving mode, saves
System level chip under power mode executes power save function.
It should be noted that the first level of GPIO outputs can be one kind in 0 or 1.
In step 204, monitoring system level chip enters the duration of energy-saving mode, and length reached scheduled duration at that time, then controlled
System level chip processed restores default mode of operation, and the system level chip under default mode of operation forbids power save function.
After system level chip enters energy-saving mode, the system level chip under energy-saving mode will execute power save function, if
The economize on electricity time is not controlled, smart machine will always be in energy-saving mode state, and the intelligence under electricity-saving state is set
The standby smooth operation that may influence certain programs, in order to avoid such case is opened after system level chip enters energy-saving mode
The duration that record monitoring system grade chip enters energy-saving mode is opened, when the duration of record reaches scheduled duration, then control system grade
Chip restores default mode of operation, and the smart machine under operating mode, which executes, restores smart machine central processor CPU frequency
Rate opens smart machine part core cpu, restores the brightness of smart machine background light, restoring the operations such as screen stand-by time, and
System level chip under operating mode forbids power save function.
In one possible implementation, monitoring system level chip enters the duration of energy-saving mode, and length reached pre- at that time
Timing is long, that is, when control system grade chip being needed to revert to default mode of operation, can then control general defeated in smart machine
Enter/delivery outlet GPIO output second electrical levels, second electrical level restores default mode of operation for control system grade chip, gives tacit consent to work
System level chip under pattern forbids power save function.
It should be noted that when GPIO output the first level be 0 or 1 in it is a kind of when, GPIO output second electrical level
Can be another in 0 or 1.
In step 205, if battery is switched to charged state from discharge condition or cell voltage is more than the second predetermined voltage,
Then stop being monitored the discharge current of battery, which is more than the first predetermined voltage.
After the system level chip in smart machine enters energy-saving mode, smart machine can show a prompt message, should
Prompt message can prompt the current electric quantity of battery in user's smart machine relatively low, and user is reminded to charge immediately.If user
It is charged to smart machine when system level chip is under energy-saving mode, then the state of battery can switch from discharge condition
For charged state.
In the case where battery is switched to charged state from discharge condition, due to smart machine battery charge rate often
Faster than discharge rate, i.e., when charging to the smart machine under busy condition, charged amount is maintaining smart machine just
Often while operation, also has extra electricity and store into battery, and storing the extra electricity to battery can be effectively ensured
Smart machine continues to run with other programs, therefore, after detecting that battery is switched to charged state from discharge condition, even if currently
Smart machine cell voltage is also possible to be less than the first predeterminated voltage, can also be without the discharge current sampling to not carrying out battery
Smart machine carries out current sample, or may not need the smart machine sampled to the discharge current for having carried out battery and continue
Current sample, therefore smart machine stopping is monitored the discharge current of battery.
In a kind of application scenarios, even if being charged to battery, the voltage of battery still may in initial charge
Can be relatively low, at this time still it is necessary to control in a power saving mode system level chip, and when the voltage of battery is more than second in advance
When constant voltage (second predetermined voltage is more than the first predetermined voltage), then show that the voltage of battery at this time is unlikely because prominent
The larger application program of right unlatching process and the case where cause to shut down suddenly, therefore can stop carrying out the discharge current of battery
Monitoring.
In another application scenarios, after Control System of Intelligent grade chip enters energy-saving mode, system can be to intelligence
Energy equipment carries out a series of power save function, and the smart machine cell voltage after power save function has small size rising, at this time
It may also can detect the case where smart machine cell voltage is higher than the second predetermined voltage, in this case, smart machine
Stopping is monitored the discharge current of battery, and in this case, in order to avoid the rising of cell voltage is voltage wave movable property
It gives birth to and not virtual voltage rising, the second scheduled voltage here is higher than the first scheduled voltage.
In step 206, whether detection system irrespective of size chip is energy-saving mode.
In step 207, if system level chip is energy-saving mode, control system grade chip restores default mode of operation.
When smart machine detects that system level chip is energy-saving mode, illustrate system level chip be smart machine into
Row power save function.When battery is switched to charged state from discharge condition, since the charge rate of smart machine battery is than electric discharge
Rate is fast, and charged amount also extra electricity while maintaining smart machine operation is stored into battery, can be effectively ensured
Smart machine has sufficient electricity to continue to run with other programs, therefore can restore default mode of operation with control system grade chip;
Alternatively, when cell voltage is more than the second predetermined voltage, since current battery level does not open energy-saving mode in system level chip
Voltage conditions in, therefore can also control system grade chip restore default mode of operation.
In conclusion the energy-saving mode open method provided in the embodiment of the present disclosure, by being less than the first predetermined voltage
Discharge current be monitored, when the discharge current for monitoring that continuously predetermined sampling obtains is all higher than predetermined current threshold,
The energy-saving mode of open system grade chip;Intelligence can be made even lower than preset minimum voltage suddenly by solving cell voltage
The problem of energy equipment is shut down suddenly;Reach when preventing cell voltage suddenly even lower than preset minimum voltage, has caused
The effect that smart machine shuts down suddenly.
In addition, when battery is switched to charged state or cell voltage more than the second predetermined voltage from discharge condition, explanation
Charged amount also extra electricity while maintaining smart machine operation is stored into battery, and smart machine can be effectively ensured
There is sufficient cell voltage to continue other operation programs or current battery level and does not open energy-saving mode in system level chip
It in voltage conditions, can stop being monitored the discharge current of battery at this time, and control system grade chip is restored into acquiescence work
Operation mode.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of block diagram of energy-saving mode opening device shown according to an exemplary embodiment, which opens
Opening device is applied in smart machine, and smart machine said here can be smart mobile phone, tablet computer, smart television, more
Media player etc..As shown in figure 3, the energy-saving mode opening device includes but not limited to:Acquisition module 301, monitoring modular
302, power-saving module 303.
Acquisition module 301 is configured as obtaining the current voltage of battery in smart machine;
Monitoring modular 302, the current voltage for being configured as obtaining when acquisition module 301 are less than the first predetermined voltage and battery
When in discharge condition, the discharge current of battery is monitored;
Power-saving module 303 is configured as monitoring that the discharge current that continuously predetermined sampling obtains is equal when monitoring modular 302
When more than predetermined current threshold, the energy-saving mode of open system grade chip, the system level chip under energy-saving mode executes economize on electricity behaviour
Make.
In one possible implementation, Fig. 4 is referred to, is a kind of section shown according to another exemplary embodiment
The block diagram of power mode opening device, as shown in figure 4, the power-saving module 303 be additionally configured to when monitoring module monitors to it is continuous in advance
When the discharge current that fixed sampling obtains is all higher than predetermined current threshold, the general I/O port in smart machine is controlled
GPIO exports the first level, and the first level enters energy-saving mode for control system grade chip, the system-level core under energy-saving mode
Piece executes power save function.
In one possible implementation, referring still to shown in Fig. 4, which can also include:
Recovery module 304.
Recovery module 304 is configured as the duration that monitoring system level chip enters energy-saving mode, when length reaches predetermined at that time
Long, then control system grade chip restores default mode of operation, and the system level chip under default mode of operation forbids power save function.
In one possible implementation, referring also to Fig. 4, which is additionally configured to monitor system-level core
Piece enters the duration of energy-saving mode, and length reached scheduled duration at that time, then controlled the general I/O port GPIO in smart machine
Second electrical level is exported, second electrical level restores default mode of operation, the system under default mode of operation for control system grade chip
Grade chip forbids power save function.
In one possible implementation, referring still to shown in Fig. 4, which can also include:
Stopping modular 305.
Stopping modular 305 is configured as being switched to charged state from discharge condition when battery or cell voltage is more than second
When predetermined voltage, stopping is monitored the discharge current of battery, and the second predetermined voltage is more than the first predetermined voltage.
In one possible implementation, referring still to shown in Fig. 4, which can also include:
Detection module 306, control module 307.
Detection module 306 is configured as whether detection system irrespective of size chip is energy-saving mode;
Control module 307 is configured as when detection module 306 detects that system level chip is energy-saving mode, control system
Irrespective of size chip restores default mode of operation.
In conclusion the energy-saving mode opening device provided in the embodiment of the present disclosure, by being less than the first predetermined voltage
Discharge current be monitored, when the discharge current for monitoring that continuously predetermined sampling obtains is all higher than predetermined current threshold,
The energy-saving mode of open system grade chip;Intelligence can be made even lower than preset minimum voltage suddenly by solving cell voltage
The problem of energy equipment is shut down suddenly;Reach when preventing cell voltage suddenly even lower than preset minimum voltage, has caused
The effect that smart machine shuts down suddenly.
In addition, when battery is switched to charged state or cell voltage more than the second predetermined voltage from discharge condition, explanation
Charged amount also extra electricity while maintaining smart machine operation is stored into battery, and smart machine can be effectively ensured
There is sufficient cell voltage to continue other operation programs or current battery level and does not open energy-saving mode in system level chip
It in voltage conditions, can stop being monitored the discharge current of battery at this time, and control system grade chip is restored into acquiescence work
Operation mode.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of energy-saving mode opening device, can realize the section that the disclosure provides
Power mode open method, the energy-saving mode opening device include:Processor, the storage for storing processor-executable instruction
Device;
Wherein, processor is configured as:
Obtain the current voltage of battery in smart machine;
If current voltage is less than the first predetermined voltage and battery is in discharge condition, the discharge current of battery is supervised
It surveys;
If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, open system grade core
The energy-saving mode of piece, the system level chip under energy-saving mode execute power save function.
Fig. 5 is a kind of block diagram for opening energy-saving mode shown according to an exemplary embodiment.For example, device 400
Can be mobile phone, computer, digital broadcasting smart machine, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 5, device 400 may include following one or more components:Processing component 402, memory 404, power supply
Component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor module 414, Yi Jitong
Believe component 416.
The integrated operation of 402 usual control device 400 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 402 may include that one or more processors 418 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown
Example includes the instruction for any program or method that are operated on device 400, contact data, telephone book data, message, figure
Piece, video etc..Memory 404 can be real by any kind of volatibility or non-volatile memory device or combination thereof
Existing, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is only
Read memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic
Disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system
System, one or more power supplys and other generated with for device 400, management and the associated component of distribution electric power.
Multimedia component 408 is included in the screen of one output interface of offer between device 400 and user.In some realities
It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with
Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and
And also detection and touch or the relevant duration and pressure of slide.In some embodiments, multimedia component 408 includes
One front camera and/or rear camera.It is preceding when such as screening-mode or video mode when device 400 is in operation mode
External multi-medium data can be received by setting camera and/or rear camera.Each front camera and rear camera can
Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when device 400 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set
Part 416 is sent.In some embodiments, audio component 410 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor module 414 can detect the state that opens/closes of device 400, the relative positioning of component, such as component
For the display and keypad of device 400, sensor module 414 can be with the position of 400 1 components of detection device 400 or device
Set change, the existence or non-existence that user contacts with device 400, the temperature of 400 orientation of device or acceleration/deceleration and device 400
Variation.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact near
The presence of object.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, be used in imaging journey
It is used in sequence.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G or combination thereof.In an exemplary reality
It applies in example, communication component 416 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned energy-saving mode opening square
Method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 418 of device 400 and be opened with completing above-mentioned energy-saving mode
Open method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (13)
1. a kind of energy-saving mode open method, which is characterized in that the method includes:
The current voltage of battery in smart machine is obtained, the current voltage is the current residual electricity of the battery;
If the current voltage is less than the first predetermined voltage and the battery is in discharge condition, to the electric discharge electricity of the battery
Stream is monitored;
If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, open system grade chip
Energy-saving mode, the system level chip under energy-saving mode execute power save function.
2. according to the method described in claim 1, it is characterized in that, the energy-saving mode of the open system grade chip, including:
It controls the general I/O port GPIO in the smart machine and exports the first level, first level is for controlling
System level chip enters energy-saving mode.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
After the energy-saving mode for opening the system level chip, the duration that the system level chip enters energy-saving mode is monitored, when
The duration reaches scheduled duration, then controls the system level chip and restore default mode of operation, the institute under default mode of operation
It states system level chip and forbids power save function.
4. according to the method described in claim 3, it is characterized in that, the control system level chip restores acquiescence Working mould
Formula, including:
The general I/O port GPIO output second electrical levels in the smart machine are controlled, the second electrical level is for controlling
The system level chip restores the default mode of operation.
5. according to any method in Claims 1-4, which is characterized in that the method further includes:
If the battery is switched to charged state from the discharge condition or the cell voltage is more than the second predetermined voltage, stop
Only the discharge current of the battery is monitored, second predetermined voltage is more than first predetermined voltage.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
When stopping being monitored the discharge current of the battery, detect whether the system level chip is energy-saving mode;
If the system level chip is the energy-saving mode, controls the system level chip and restore default mode of operation.
7. a kind of energy-saving mode opening device, which is characterized in that described device includes:
Acquisition module is configured as obtaining the current voltage of battery in smart machine, and the current voltage is working as the battery
Preceding remaining capacity;
Monitoring modular, the current voltage for being configured as obtaining when the acquisition module are less than at the first predetermined voltage and the battery
When discharge condition, the discharge current of the battery is monitored;
Power-saving module, be configured as when the monitoring module monitors to continuous predetermined sample obtained discharge current be all higher than it is pre-
When constant current threshold value, the energy-saving mode of open system grade chip, the system level chip under energy-saving mode executes power save function.
8. device according to claim 7, which is characterized in that the power-saving module is additionally configured to control the intelligence
General I/O port GPIO in equipment exports the first level, and first level enters section for control system grade chip
Power mode.
9. device according to claim 7, which is characterized in that described device further includes:
Recovery module is configured as after the energy-saving mode for opening the system level chip, is monitored the system level chip and is entered
The duration of energy-saving mode then controls the system level chip and restores default mode of operation, write from memory when the duration reaches scheduled duration
The system level chip recognized under operating mode forbids power save function.
10. device according to claim 9, which is characterized in that the recovery module is additionally configured to control the intelligence
General I/O port GPIO in equipment exports second electrical level, and the second electrical level is extensive for controlling the system level chip
The multiple default mode of operation.
11. according to any device in claim 7 to 10, which is characterized in that described device further includes:
Stopping modular is configured as being switched to charged state from the discharge condition when the battery or the cell voltage is more than
When the second predetermined voltage, stopping is monitored the discharge current of the battery, and second predetermined voltage is more than described first
Predetermined voltage.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Detection module is configured as, when stopping modular stopping is monitored the discharge current of the battery, detecting institute
State whether system level chip is energy-saving mode;
Control module is configured as when the detection module detects that the system level chip is the energy-saving mode, control
The system level chip restores default mode of operation.
13. a kind of energy-saving mode opening device, which is characterized in that described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
The current voltage of battery in smart machine is obtained, the current voltage is the current residual electricity of the battery;
If the current voltage is less than the first predetermined voltage and the battery is in discharge condition, to the electric discharge electricity of the battery
Stream is monitored;
If monitoring, the discharge current that continuously predetermined sampling obtains is all higher than predetermined current threshold, open system grade chip
Energy-saving mode, the system level chip under energy-saving mode execute power save function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510471327.1A CN105137831B (en) | 2015-08-04 | 2015-08-04 | Energy-saving mode open method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510471327.1A CN105137831B (en) | 2015-08-04 | 2015-08-04 | Energy-saving mode open method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105137831A CN105137831A (en) | 2015-12-09 |
| CN105137831B true CN105137831B (en) | 2018-10-02 |
Family
ID=54723212
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510471327.1A Active CN105137831B (en) | 2015-08-04 | 2015-08-04 | Energy-saving mode open method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105137831B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106249837A (en) * | 2016-07-29 | 2016-12-21 | 深圳市金立通信设备有限公司 | A kind of method preventing terminal power down and terminal |
| CN106339064A (en) * | 2016-08-29 | 2017-01-18 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for rebooting |
| CN108509310B (en) * | 2018-03-01 | 2022-04-22 | Tcl移动通信科技(宁波)有限公司 | Method for preventing automatic power failure of intelligent terminal, storage medium and intelligent terminal |
| CN108966328A (en) * | 2018-08-27 | 2018-12-07 | Tcl移动通信科技(宁波)有限公司 | Display screen double-clicks wake-up control method, mobile terminal |
| CN109038803A (en) * | 2018-09-10 | 2018-12-18 | 康泰医学系统(秦皇岛)股份有限公司 | The power supply module and Portable Oxygen generator of more power supply modes |
| CN109408293B (en) * | 2018-11-02 | 2022-02-18 | 郑州云海信息技术有限公司 | Method for monitoring RACK cabinet power supply in real time |
| CN112020181A (en) * | 2019-05-30 | 2020-12-01 | 惠州拓邦电气技术有限公司 | Lamp control method and lamp |
| CN113194525B (en) * | 2021-04-26 | 2022-10-25 | Tcl通讯(宁波)有限公司 | Power supply control method and power supply control device for NFC chip of mobile terminal |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1917677A (en) * | 2005-08-19 | 2007-02-21 | 鸿富锦精密工业(深圳)有限公司 | Handset with function of saving electricity, and method of saving electricity |
| CN103034547A (en) * | 2011-09-28 | 2013-04-10 | 联想(北京)有限公司 | Electronic equipment operation method based on battery and electronic equipment |
| CN103440029A (en) * | 2013-08-16 | 2013-12-11 | 广东欧珀移动通信有限公司 | Method for prolonging service life of mobile terminal in low battery mode and mobile terminal |
| CN104375460A (en) * | 2014-11-17 | 2015-02-25 | 北京工业大学 | A Method for Sensitivity Analysis of Machining Accuracy Reliability of CNC Machine Tool |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100490271C (en) * | 2005-07-22 | 2009-05-20 | 鸿富锦精密工业(深圳)有限公司 | Battery power saving system and method |
-
2015
- 2015-08-04 CN CN201510471327.1A patent/CN105137831B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1917677A (en) * | 2005-08-19 | 2007-02-21 | 鸿富锦精密工业(深圳)有限公司 | Handset with function of saving electricity, and method of saving electricity |
| CN103034547A (en) * | 2011-09-28 | 2013-04-10 | 联想(北京)有限公司 | Electronic equipment operation method based on battery and electronic equipment |
| CN103440029A (en) * | 2013-08-16 | 2013-12-11 | 广东欧珀移动通信有限公司 | Method for prolonging service life of mobile terminal in low battery mode and mobile terminal |
| CN104375460A (en) * | 2014-11-17 | 2015-02-25 | 北京工业大学 | A Method for Sensitivity Analysis of Machining Accuracy Reliability of CNC Machine Tool |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105137831A (en) | 2015-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11411422B2 (en) | Battery charging method, battery charging apparatus and storage medium | |
| RU2643516C2 (en) | Method and device for controlling power consumption | |
| CN104505879B (en) | The method and apparatus charged | |
| CN105528055B (en) | Run the processing method and processing device of object | |
| CN108631401B (en) | Charging circuit, method, electronic device and storage medium | |
| CN104023129A (en) | Power saving method and device thereof | |
| CN105137831A (en) | Power-saving mode starting method and device | |
| EP3772793A1 (en) | Battery module, charging method and apparatus, electronic device, and readable storage medium | |
| CN105278370A (en) | Power-saving mode starting method and device | |
| CN104320542A (en) | Method and device for sending reminding message | |
| CN103905653A (en) | Mobile equipment data service control method and device | |
| CN106095544A (en) | Central processing unit control method and device | |
| CN105867592B (en) | A kind of method and apparatus managing electric quantity consumption | |
| CN106371831A (en) | Awakening control method and device and terminal | |
| CN115882528A (en) | Charging method, charging device, electronic device and storage medium | |
| CN105913569A (en) | Electric power management method and device | |
| CN105975305B (en) | OS Events processing method, device and terminal | |
| CN106455002A (en) | Wireless search method and device, and terminal | |
| CN106502370A (en) | The method of control intelligent terminal and intelligent terminal | |
| CN106708243B (en) | Terminal equipment control method and device | |
| CN110113851A (en) | Control method, control device, terminal and the lighting device of lighting device | |
| CN106791089B (en) | Method and device for indicating battery power | |
| CN105721981A (en) | Earphone working method and earphone | |
| CN105896677A (en) | Battery charging management method and device | |
| CN107528098A (en) | Charging 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 |