Summary of the invention
The object of the present invention is to provide a kind of control method of mobile terminal power energy allocation, be intended to solve existing dual operating systems mobile terminal electricity and control bad, reduce the problem of user's experience.
In order to solve the problems of the technologies described above, the present invention is achieved in that a kind of control method of mobile terminal power energy allocation, and described mobile terminal comprises dual operating systems, said method comprising the steps of:
Obtain the operating system of the current operation of mobile terminal and the first dump energy of mobile terminal;
Point out user's current electric quantity when described first dump energy presets power threshold lower than first, and the available power of operating system each in described dual operating systems is distributed;
Another operating system in described dual operating systems is switched to after a point power distributing amount for the operating system of current operation is finished;
In another operating system described, sub-distribution is again carried out to the available power of described dual operating systems.
Further, described the step that the available power of operating system each in described dual operating systems is distributed to be comprised:
In the operating system of current operation, the first dump energy of mobile terminal is distributed according to dump energy number percent.
Further, the step that point power distributing amount of the described operating system in current operation switches to another operating system in described dual operating systems after being finished comprises:
Detect the second dump energy of the operating system of the current operation of mobile terminal;
When described second dump energy presets power threshold lower than second, set up the startup index of another operating system in described dual operating systems on backstage;
Trigger described startup index when described second dump energy depleted shutdown and start another operating system in described dual operating systems.
Further, described step of the available power of described dual operating systems being carried out to sub-distribution again in another operating system described, comprising:
Entering in described dual operating systems after another operating system, detecting the 3rd dump energy of mobile terminal;
Prompting user carries out sub-distribution again according to described 3rd dump energy to the available power of described dual operating systems.
Further, after the step of sub-distribution again being carried out to the available power of described dual operating systems in another operating system described, also comprise:
Default power down mode is entered when the dump energy of mobile terminal presets power threshold lower than the 3rd.
The object of the embodiment of the present invention is also to provide a kind of mobile terminal, and described mobile terminal comprises dual operating systems, also comprises:
Acquiring unit, for the first dump energy of the operating system and mobile terminal that obtain the current operation of mobile terminal;
First Tip element, for pointing out user's current electric quantity when described first dump energy presets power threshold lower than first;
First allocation units, for distributing the available power of operating system each in described dual operating systems;
Switch unit, switches in described dual operating systems another operating system after being finished for point power distributing amount of the operating system in current operation;
Second allocation units, for carrying out sub-distribution again to the available power of described dual operating systems in another operating system described.
Further, described first allocation units specifically for:
In the operating system of current operation, the first dump energy of mobile terminal is distributed according to dump energy number percent.
Further, described switch unit specifically for:
Detect the second dump energy of the operating system of the current operation of mobile terminal;
When described second dump energy presets power threshold lower than second, set up the startup index of another operating system in described dual operating systems on backstage;
Trigger described startup index when described second dump energy depleted shutdown and start another operating system in described dual operating systems.
Further, described second allocation units specifically for:
Entering in described dual operating systems after another operating system, detecting the 3rd dump energy of mobile terminal;
Prompting user carries out sub-distribution again according to described 3rd dump energy to the available power of described dual operating systems.
Further, described mobile terminal also comprises:
Control module, for entering default power down mode when the dump energy of mobile terminal presets power threshold lower than the 3rd.
In embodiments of the present invention, by the operating system of the current operation of acquisition mobile terminal and the first dump energy of mobile terminal; And point out user's current electric quantity when described first dump energy presets power threshold lower than first, and the available power of operating system each in described dual operating systems is distributed; Another operating system in described dual operating systems is switched to after a point power distributing amount for the operating system of current operation is finished; In another operating system described, sub-distribution is again carried out to the available power of described dual operating systems, make the dual operating systems of mobile terminal can reasonable distribution electricity, ensure the user demand of user, promote user's experience.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
Fig. 1 shows the flow process of the control method of the mobile terminal power energy allocation that the embodiment of the present invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
The control method of the mobile terminal power energy allocation that the embodiment of the present invention provides, this mobile terminal comprises dual operating systems (the first operating system and the second operating system), and the method comprises the following steps:
Step S10, obtains the operating system of the current operation of mobile terminal and the first dump energy of mobile terminal.In embodiments of the present invention, in order to ensure that two operating systems of mobile terminal all can normally be run, when the dump energy of mobile terminal presets power threshold lower than first, (such as 80%) electricity of each operating system in dual operating systems that is about to begin distributes, in order to avoid arbitrary operating system exhausts all electricity, another operating system is caused to use.
Step S20, points out user's current electric quantity when this first dump energy presets power threshold lower than first, and distributes the available power of operating system each in this dual operating systems.Particularly, this first dump energy lower than first preset power threshold time (such as 80% dump energy), in the operating system of current operation, first dump energy (80%) of mobile terminal is distributed according to dump energy number percent.Such as, in dual operating systems, the first operating system distributes the 80%*60*=48% of 60%(and total electricity), the 80%*40%=32% of the second operating system 40%(and total electricity).
Step S30, switches to another operating system in this dual operating systems after a point power distributing amount for the operating system of current operation is finished.In embodiments of the present invention, connect above-mentioned citing, the operating system of such as current operation is the first operating system, switches to the second operating system after run out of the electricity of 48%.
Step S40, carries out sub-distribution again to the available power of this dual operating systems in this another operating system.In embodiments of the present invention, connect above-mentioned citing, after switching to the second operating system, the dump energy of mobile terminal is 32%, now, can distribute the circuit of dual operating systems according to user intention or demand again.Particularly, comprising: entering in this dual operating systems after another operating system, detect the 3rd dump energy of mobile terminal;
Prompting user carries out sub-distribution again according to the 3rd dump energy to the available power of this dual operating systems.
Embodiment one:
Fig. 2 shows the flow process of the control method of the mobile terminal power energy allocation that first embodiment of the invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the present invention, step S30 comprises:
Step S301, detects the second dump energy of the operating system of the current operation of mobile terminal;
Step S302, when this second dump energy (dump energy of current operation system) presets power threshold (such as 1%) lower than second, sets up the startup index of another operating system in this dual operating systems on backstage;
Step S303, triggers this startup index when this second dump energy depleted shutdown and starts another operating system in this dual operating systems.
Embodiment two:
Fig. 3 shows the flow process of the control method of the mobile terminal power energy allocation that second embodiment of the invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the present invention, after the step s 40, also comprise:
Step S50, enters default power down mode when the dump energy of mobile terminal presets power threshold lower than the 3rd.Default battery saving mode is entered, to save electric energy when the dump energy of mobile terminal presets power threshold (such as 10%) lower than the 3rd.
In embodiments of the present invention, by the operating system of the current operation of acquisition mobile terminal and the first dump energy of mobile terminal; And point out user's current electric quantity when described first dump energy presets power threshold lower than first, and the available power of operating system each in described dual operating systems is distributed; Another operating system in described dual operating systems is switched to after a point power distributing amount for the operating system of current operation is finished; In another operating system described, sub-distribution is again carried out to the available power of described dual operating systems, make the dual operating systems of mobile terminal can reasonable distribution electricity, ensure the user demand of user, promote user's experience.
Fig. 4 shows the framed structure schematic diagram of the mobile terminal that the embodiment of the present invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
The mobile terminal that the embodiment of the present invention provides, comprises (being provided with) dual operating systems, also comprises acquiring unit 100, first Tip element 200, first allocation units 300, switch unit 400, second allocation units 500 and control module 600;
Acquiring unit 100 is for the first dump energy of the operating system and mobile terminal that obtain the current operation of mobile terminal; First Tip element 200 is for pointing out user's current electric quantity when the first dump energy presets power threshold lower than first; First allocation units 300 are for distributing the available power of operating system each in this dual operating systems; Switch unit 400 switches to another operating system in this dual operating systems after being finished for point power distributing amount of the operating system in current operation; Second allocation units 500, for carrying out sub-distribution again to the available power of this dual operating systems in this another operating system; Control module 600 is for entering default power down mode when the dump energy of mobile terminal presets power threshold lower than the 3rd.
As one embodiment of the present invention, the first allocation units 300 specifically for: in the operating system of current operation, the first dump energy of mobile terminal is distributed according to dump energy number percent.
As one embodiment of the present invention, switch unit 400 is specifically for the second dump energy of detecting the operating system of mobile terminal current operation; When the second dump energy presets power threshold lower than second, set up the startup index of another operating system in this dual operating systems on backstage; Trigger this startup index when the second dump energy depleted shutdown and start another operating system in this dual operating systems.
As another preferred embodiment of the present invention, the second allocation units specifically for: entering in this dual operating systems after another operating system, detecting the 3rd dump energy of mobile terminal; Prompting user carries out sub-distribution again according to the 3rd dump energy to the available power of this dual operating systems.
The mobile terminal that the embodiment of the present invention provides is corresponding with the embodiment of the control method of above-mentioned mobile terminal power energy allocation, and its principle of work and mode are all corresponding to be suitable for, and just repeats no more here.
In embodiments of the present invention, by the operating system of the current operation of acquisition mobile terminal and the first dump energy of mobile terminal; And point out user's current electric quantity when described first dump energy presets power threshold lower than first, and the available power of operating system each in described dual operating systems is distributed; Another operating system in described dual operating systems is switched to after a point power distributing amount for the operating system of current operation is finished; In another operating system described, sub-distribution is again carried out to the available power of described dual operating systems, make the dual operating systems of mobile terminal can reasonable distribution electricity, ensure the user demand of user, promote user's experience.
It will be appreciated by those skilled in the art that the unit comprised for above-described embodiment is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.