CN115629952A - Android compatible environment battery simulation method based on power consumption fitting analysis - Google Patents

Android compatible environment battery simulation method based on power consumption fitting analysis Download PDF

Info

Publication number
CN115629952A
CN115629952A CN202211652054.7A CN202211652054A CN115629952A CN 115629952 A CN115629952 A CN 115629952A CN 202211652054 A CN202211652054 A CN 202211652054A CN 115629952 A CN115629952 A CN 115629952A
Authority
CN
China
Prior art keywords
battery
electric quantity
test
power consumption
compatible environment
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.)
Granted
Application number
CN202211652054.7A
Other languages
Chinese (zh)
Other versions
CN115629952B (en
Inventor
温研
刘�东
袁利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Linzhuo Information Technology Co Ltd
Original Assignee
Beijing Linzhuo Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Linzhuo Information Technology Co Ltd filed Critical Beijing Linzhuo Information Technology Co Ltd
Priority to CN202211652054.7A priority Critical patent/CN115629952B/en
Publication of CN115629952A publication Critical patent/CN115629952A/en
Application granted granted Critical
Publication of CN115629952B publication Critical patent/CN115629952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3457Performance evaluation by simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a battery simulation method for an android compatible environment based on power consumption fitting analysis, which is characterized in that a reference battery electric quantity change curve of a standard PC is obtained through a designed high-power consumption test set, an actual battery electric quantity change curve is obtained through executing the high-power consumption test set in a desktop system running the android compatible environment, the identification of a standard battery of the desktop system in which the android compatible environment is located is realized through the fitting analysis of the reference battery electric quantity change curve and the actual battery electric quantity change curve, and the control of the power consumption and the performance of the android compatible environment is further realized based on the electric quantity of the standard battery.

Description

Android compatible environment battery simulation method based on power consumption fitting analysis
Technical Field
The invention belongs to the technical field of mobile application development, and particularly relates to a power consumption fitting analysis-based battery simulation method for an android compatible environment.
Background
At present, the android application is generally operated in a manner of installing an android compatible environment on a desktop platform, so as to solve the problem of cross-platform use of the android application, a typical android compatible environment mainly comprises an android application display unit and an android application compatible service, the android application display unit is used for realizing a user interface of the android application on a desktop operating system, the android application compatible service is used for providing the android compatible environment operated on the desktop operating system, and the effective operation of the android application on the desktop operating system is realized through the mutual cooperation of the android application display unit and the android application compatible service, for example, the implementation scheme of the existing android compatible environment has xDroid, which comprises xDroid ui and xDroid server, the xDroid ui is the android application display unit, and the xDroid server is the android application compatible service.
The existing android system provides a complex management mechanism for the battery, can realize control over power consumption and performance according to the current electric quantity of the battery, and in addition, the desktop system also provides a battery management mechanism. The notebook PC has a battery installed or not installed, when the desktop system queries the battery status, a plurality of batteries may be found, and the batteries include a notebook standard battery and a battery used by devices such as a BIOS and a mouse, where the standard battery is a battery used for supplying the PC to operate. Under the condition, the android compatible environment runs in the desktop system, so that the standard battery of the PC cannot be correctly identified from the plurality of batteries by the android compatible environment, and further, the power consumption and performance cannot be correctly controlled according to the current state of the electric quantity of the PC battery, the power consumption distribution of the android compatible environment is unreasonable, and the whole standby time of the PC is shortened.
Disclosure of Invention
In view of the above, the invention provides a method for simulating an android compatible environment battery based on power consumption fitting analysis, which can realize power consumption control based on standard battery power of a desktop system.
The invention provides a power consumption fitting analysis-based android compatible environment battery simulation method, which specifically comprises the following steps:
step 1, constructing a high-power-consumption test set, and acquiring the electric quantity of a battery to form a battery electric quantity change curve while enabling a computer system to enter a high-performance calculation mode by executing the high-power-consumption test set;
step 2, executing the high-power consumption test set on a standard PC based on different instruction sets, and taking a battery electric quantity change curve obtained by acquiring the electric quantity of a standard battery as a reference battery electric quantity change curve, wherein the standard battery is a battery used for maintaining work when no alternating current power supply exists in the PC;
step 3, in the desktop system using the android compatible environment, after the power failure is detected, executing the high-power-consumption test set by adopting the same test mode as the step 2, and acquiring the electric quantity of all battery equipment in the desktop system to obtain a plurality of battery electric quantity change curves as actual battery electric quantity change curves; through fitting analysis, the actual battery electric quantity change curve most similar to the reference battery electric quantity change curve is the battery electric quantity change curve corresponding to the standard battery; the test mode comprises an adopted test case and an execution sequence of the test case;
and 4, acquiring a device file of the standard battery according to the battery electric quantity change curve determined in the step 3, and executing a standard power consumption control flow according to the electric quantity in the device file in the android compatible environment.
Further, the high power consumption test set includes the following test cases: CPU high power consumption test case, I/O high power consumption test case and GPU high power consumption test case.
Further, the CPU high power consumption test case is:
t1.1, setting the CPU to be in a high-performance mode; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t1.2, distributing a test memory for storing the CPU test code, marking the test memory as executable, and copying the CPU test code into the test memory; the CPU test code comprises a distributed memory block, the memory block is compressed after the random generated data is filled into the memory block, the MD5 value of the data in the compressed memory block is calculated, the data is decompressed and then updated into the memory block, and the memory block is released;
t1.3, executing the CPU test code, and releasing the test memory after the execution is finished;
t1.4, if the testing time is not less than the threshold value, executing T1.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
Further, the size of the memory block is a small value that is not aligned with the memory.
Further, the I/O high power consumption test case is:
t2.1, setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t2.2, opening the disk device, and randomly generating an address in a tail setting area of the disk device;
t2.3, for each address generated by T2.2: reading the data of the specific bytes and saving the data as temporary data, writing all 0 data of the specific bytes into the current address, writing all 1 data of the specific bytes into the current address, and finally writing the temporary data back into the current address;
t2.4, if the testing time is not less than the threshold value, executing T2.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
Further, the size of the specific byte is a small value that is not aligned with memory.
Further, the tail setting area of the disk device is a 1/3 space of the tail of the disk device.
Further, the GPU high power consumption test case is:
t3.1, setting the GPU into a high-performance mode by using a GPU setting tool; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t3.2, creating an application window; executing mapping operation for a set number of times on the application window, and filling the 3D mapping with the texture format being the compression format into the application window in each mapping operation;
t3.3, if the testing time is not less than the threshold value, executing T3.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
Further, the size of the 3D map is 512 × 512, and the texture format is LUMINACE _ ALPHA.
Further, the test mode is to sequentially execute all test cases in the high power consumption test set.
Has the beneficial effects that:
according to the method, the reference battery electric quantity change curve of the standard PC is obtained through the designed high-power-consumption test set, the actual battery electric quantity change curve is obtained through the high-power-consumption test set executed in the desktop system running the android compatible environment, the identification of the standard battery of the desktop system where the android compatible environment is located is achieved through the fitting analysis of the reference battery electric quantity change curve and the actual battery electric quantity change curve, and then the control of the power consumption and the performance of the android compatible environment is achieved based on the electric quantity of the standard battery.
Detailed Description
The present invention will be described in detail below with reference to examples.
The invention provides an android compatible environment battery simulation method based on power consumption fitting analysis, which has the core idea that: respectively executing high-power consumption test sets on computers based on different instruction sets, and recording a battery electric quantity change curve as a reference battery electric quantity change curve; in a desktop system running in an android compatible environment, running a high-power-consumption test set after detecting that a power supply is cut off, and recording a battery electric quantity change curve as an actual battery electric quantity change curve; determining standard batteries in all batteries by performing fitting analysis on an actual battery electric quantity change curve and a reference battery electric quantity change curve; and enabling the android compatible environment to execute a standard power consumption control flow according to the electric quantity of the standard battery.
The invention provides a power consumption fitting analysis-based android compatible environment battery simulation method, which specifically comprises the following steps:
step 1, constructing a high-power-consumption test set, enabling a computer system to enter a high-performance computing mode by executing the high-power-consumption test set, and simultaneously collecting the electric quantity of a battery to form a battery electric quantity change curve.
In the invention, the high-power-consumption test set can comprise high-power-consumption test cases of a CPU, an I/O and a GPU.
The CPU high power consumption test case is as follows:
t1.1, setting the CPU to be in a high-performance mode; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t1.2, distributing a test memory for storing the CPU test code, marking the test memory as executable, and copying the CPU test code into the test memory; the CPU test code includes the following processing procedures: allocating a memory block with a size of a set byte, filling randomly generated data into the memory block, then compressing the memory block, calculating the MD5 value of the data in the compressed memory block, decompressing the data, then updating the data into the memory block, and releasing the memory block;
t1.3, jumping to a test memory for execution, and releasing the test memory after the execution is finished;
t1.4, if the testing time is not less than the threshold value, executing T1.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
The invention prevents the CPU test case stored in the test memory from being loaded into the Cache to be executed by continuously distributing and releasing the test memory, thereby ensuring that the relevant operation of the CPU is executed in a high-power-consumption mode.
In order to further improve the performance overhead of the CPU high-power consumption test case, the invention sets the value of the set byte of the memory block to a small value which is not aligned with the memory, such as 3K or 5K, so as to avoid the alignment of data and the memory, further increase the memory fragments and increase the memory management overhead.
I/O high power consumption test case:
t2.1, setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t2.2, opening the disk device, and randomly generating an address in a tail setting area of the disk device;
t2.3, for each address generated by T2.2: reading data of set bytes and storing the data as temporary data, writing all 0 data of the set bytes into a current address, writing all 1 data of the set bytes into the current address, and finally writing the temporary data back to the current address;
t2.4, if the testing time is not less than the threshold value, executing T2.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
The tail setting area of the disk device may be set to be a 1/3 space of the tail of the disk device, and the value of the read setting byte may also be set to be a smaller value that is not aligned with the memory, for example, 3K or 5K, so as to avoid that the data is aligned with the memory and further memory fragments are increased, and memory management overhead is increased.
GPU high power consumption test case:
t3.1, setting the GPU into a high-performance mode by using a GPU setting tool; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t3.2, creating an application window; executing mapping operation for a set number of times on the application window, and filling the 3D mapping with the texture format being the compression format into the application window in each mapping operation;
t3.3, if the testing time is not less than the threshold value, executing T3.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
To prevent texture data of the 3D map from being loaded into the Cache of the GPU, the invention sets the size of the 3D map to a value that is much larger than the size of the Cache of the GPU, e.g. 512 x 512. In addition, the size of the application window may be set to 800 × 600, the texture format of the 3d map may be set to LUMINACE _ ALPHA, and the number of map operations may be 256.
In order to ensure the testing efficiency, the invention sets the testing time in each type of test case to be 2 seconds.
The battery electric quantity acquisition process is used for acquiring the electric quantity of the battery to form a battery electric quantity change curve. The method specifically comprises the following steps: and acquiring the electric quantity of the battery according to a set time interval, recording the corresponding relation between the time and the electric quantity, and forming a battery electric quantity change curve.
And 2, executing the high-power-consumption test set constructed in the step 1 on a standard PC based on different instruction sets, and taking a battery electric quantity change curve obtained by collecting the electric quantity of the standard battery as a reference battery electric quantity change curve. The standard battery is a battery used in the PC to maintain the PC in standby operation without an ac power supply.
In order to further improve the accuracy of the reference battery power variation curve, the test cases provided by the invention can be sequentially executed on standard PCs based on different instruction sets.
Step 3, in a desktop system using an android compatible environment, after power failure is detected, executing the high-power-consumption test set constructed in the step 1 according to the test mode in the step 2, respectively sampling electric quantity of various battery devices of the desktop system to obtain a plurality of battery electric quantity change curves, and taking the battery electric quantity change curves as actual battery electric quantity change curves; and fitting and analyzing the actual battery power change curve and the reference battery power change curve, wherein the actual battery power change curve most similar to the reference battery power change curve is the battery power change curve corresponding to the standard battery of the desktop system.
Specifically, the test mode includes the adopted test cases, the execution sequence of the test cases, and the like.
And 4, acquiring an equipment file of a standard battery of the desktop system according to the battery electric quantity change curve determined in the step 3, and sending the electric quantity information in the equipment file to an android compatible environment, wherein the android compatible environment executes a standard power consumption control flow according to the electric quantity.
Specifically, the device file of the standard battery can be imported into the android compatible environment, the battery management service of the android compatible environment is enabled to read the electric quantity information in the device file, and then power consumption and performance are controlled according to the electric quantity information.
The embodiment is as follows:
in this embodiment, the method for battery simulation in an android compatible environment based on power consumption fitting analysis provided by the present invention implements power consumption control based on a desktop system standard battery power in a Linux system based on xDroid, and specifically includes the following steps:
s1, respectively executing high-power-consumption test sets constructed by the method on various instruction sets (such as ARM and x 86) notebooks, and recording battery power variation curves; the sampling time of the standard battery power acquisition process is set to be 10 milliseconds, data is recorded in a [ time, power ] binary format, and a reference battery power change curve is generated according to the recorded data and is recorded as refBatteryLevelTrend.
S1.1, setting the CPU to be in a high-performance mode.
Specifically, the manner of setting the CPU to the high performance mode is: in the Linux system, by setting the value of/system/devices/system/cpu/cpu 0/cpu freq/scaling _ governor to "performance"; in a Windows system, setting the CPU to the high performance mode may be accomplished by setting the power option to the "high performance mode".
And S1.2, setting the GPU into a high-performance mode by using a GPU setting tool.
S1.3, continuously executing the CPU high-power consumption test case for 2 seconds, wherein the specific process is as follows: allocating a memory and marking the memory as execMem, and marking the execMem as executable; and copying the test code into the execMem, jumping to the execMem to start execution, and releasing the execMem after the execution is finished.
The test code is: distributing a block with the size of 16K in the memory; filling randomly generated data into a block; compressing the block, and calculating the MD5 value of the data in the compressed block; decompressing the block, and writing the decompressed data into the block; and releasing the block.
S1.4, continuously executing the I/O high-power-consumption test case for 2 seconds, wherein the specific process is as follows: turning on the disk device, such as/dev/sda; the address diskAddr is randomly generated in the rear 1/3 space of the disk device, and the test code is executed for each address.
The test code is: reading 1K data to oldData; writing all 0 data of 1K to the diskAddr; writing all 1 data of 1K to the diskAddr; the data for oldData is written back to the diskAddr.
S1.5, executing a GPU high-power-consumption test case for 2 seconds, wherein the specific process comprises the following steps: creating an application window with the size of 800 x 600; setting the size of the 3D map as 512 × 512 and the texture format as LUMINACE _ ALPHA; the 3D mapping operation is performed 256 times to the application window.
S2, modifying the xDroid service of the desktop system end of the android compatible environment, monitoring the plugging and unplugging of the power supply, and executing the following operations after detecting that the power supply is unplugged for the first time:
and S2.1, setting the CPU to be in a high-performance mode.
And S2.2, setting the GPU into a high-performance mode by using a GPU setting tool.
S2.3, executing the CPU high-power-consumption test case for 2 seconds, executing the I/O high-power-consumption test case for 2 seconds and executing the GPU high-power-consumption test case for 2 seconds in sequence by the mode in the S1; for all battery devices at the desktop system end, the battery power is collected in a mode of sampling every 10 milliseconds, then [ time (from 0), power ] is used as a binary set to record power information, and a plurality of actual battery power change curves are formed according to the power information and are marked as hostbatteryLevelTrend1, hostbatteryLevelTrend2, 8230and hostbatteryLevelTrendN.
And S3, respectively comparing the similarity of the curves of the hostBatteryLevelTrendN and the refBatteryLevelTrend, selecting the most similar curve, and importing the device file of the corresponding battery device into an android environment, such as/sys/class/power _ supply/BAT 0.
And S4, modifying the BatteryManager of the android frame to realize the import of the battery power of the Host terminal.
And modifying the electric quantity reading API of the BatteryManager, reading the battery equipment file information of the Host end imported in the last step before the API returns, analyzing the information such as the electric quantity of the battery, and filling the battery equipment file information into the BatteryStats.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A power consumption fitting analysis-based battery simulation method for an android compatible environment is characterized by comprising the following steps:
step 1, constructing a high-power-consumption test set, and acquiring the electric quantity of a battery to form a battery electric quantity change curve while enabling a computer system to enter a high-performance calculation mode by executing the high-power-consumption test set;
step 2, executing the high-power consumption test set on a standard PC based on different instruction sets, and taking a battery electric quantity change curve obtained by collecting the electric quantity of a standard battery as a reference battery electric quantity change curve, wherein the standard battery is a battery used for maintaining work when no alternating current power supply exists in the PC;
step 3, in a desktop system using an android compatible environment, after power failure is detected, executing the high-power-consumption test set in the same test mode as the step 2, and acquiring the electric quantity of all battery equipment in the desktop system to obtain a plurality of battery electric quantity change curves serving as actual battery electric quantity change curves; through fitting analysis, the actual battery electric quantity change curve most similar to the reference battery electric quantity change curve is the battery electric quantity change curve corresponding to the standard battery; the test mode comprises an adopted test case and an execution sequence of the test case;
and 4, acquiring a device file of the standard battery according to the battery electric quantity change curve determined in the step 3, and executing a standard power consumption control flow according to the electric quantity in the device file in the android compatible environment.
2. The android compatible environment battery simulation method of claim 1, wherein the high power consumption test set includes the following test cases: CPU high power consumption test case, I/O high power consumption test case and GPU high power consumption test case.
3. The android compatible environment battery simulation method of claim 2, wherein the CPU high power consumption test case is:
t1.1, setting the CPU to be in a high-performance mode; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t1.2, distributing a test memory for storing the CPU test code, marking the test memory as executable, and copying the CPU test code into the test memory; the CPU test code comprises a distributed memory block, the memory block is compressed after randomly generated data is filled into the memory block, the MD5 value of the data in the compressed memory block is calculated, the data is decompressed and updated into the memory block, and the memory block is released;
t1.3, executing the CPU test code, and releasing the test memory after the execution is finished;
t1.4, if the testing time is not less than the threshold value, executing T1.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
4. The android compatible environment battery simulation method of claim 3, wherein the size of the memory block is a small value that is not memory-aligned.
5. The android compatible environment battery simulation method of claim 2, wherein the I/O high power consumption test case is:
t2.1, setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t2.2, opening the disk device, and randomly generating an address in a tail setting area of the disk device;
t2.3, for each address generated by T2.2: reading the data of the specific byte and storing the data as temporary data, writing all 0 data of the specific byte quantity into the current address, writing all 1 data of the specific byte quantity into the current address, and finally writing the temporary data back to the current address;
t2.4, if the testing time is not less than the threshold value, executing T2.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
6. The android compatible environment battery simulation method of claim 5, wherein the size of the particular byte is a small value that is not memory-aligned.
7. The android compatible environment battery simulation method of claim 5, wherein the tail setting area of the disk device is at a 1/3 space of the tail of the disk device.
8. The android compatible environment battery simulation method of claim 2, wherein the GPU high-power-consumption test case is:
t3.1, setting the GPU into a high-performance mode by using a GPU setting tool; setting the initial value of the test time to be 0, starting timing, and starting a battery electric quantity acquisition process;
t3.2, creating an application window; executing mapping operation for a set number of times on the application window, and filling the 3D mapping with the texture format being the compression format into the application window in each mapping operation;
t3.3, if the testing time is not less than the threshold value, executing T3.2; otherwise, stopping the battery electric quantity acquisition process and ending the test process.
9. The android compatible environment battery simulation method of claim 8, wherein the 3D map is 512 x 512 in size and the texture format is LUMINACE _ ALPHA.
10. The android compatible environment battery simulation method of claim 2, wherein the test mode is to sequentially execute all test cases in the high power consumption test set.
CN202211652054.7A 2022-12-22 2022-12-22 Android compatible environment battery simulation method based on power consumption fitting analysis Active CN115629952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211652054.7A CN115629952B (en) 2022-12-22 2022-12-22 Android compatible environment battery simulation method based on power consumption fitting analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211652054.7A CN115629952B (en) 2022-12-22 2022-12-22 Android compatible environment battery simulation method based on power consumption fitting analysis

Publications (2)

Publication Number Publication Date
CN115629952A true CN115629952A (en) 2023-01-20
CN115629952B CN115629952B (en) 2023-03-10

Family

ID=84910837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211652054.7A Active CN115629952B (en) 2022-12-22 2022-12-22 Android compatible environment battery simulation method based on power consumption fitting analysis

Country Status (1)

Country Link
CN (1) CN115629952B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9157968B1 (en) * 2011-02-22 2015-10-13 Securaplane Technologies, Inc. System and method for characterizing the health of a rechargeable battery
CN107506275A (en) * 2017-06-21 2017-12-22 西北大学 A kind of software protecting energy consumption evaluation method based on ARM instruction virtualization
CN112150402A (en) * 2019-06-11 2020-12-29 刘素青 Lithium battery state analysis platform
CN112924875A (en) * 2021-01-28 2021-06-08 维沃移动通信有限公司 Battery detection method and device and electronic equipment
CN113933581A (en) * 2021-12-17 2022-01-14 荣耀终端有限公司 Power consumption testing method of mobile equipment and mobile equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9157968B1 (en) * 2011-02-22 2015-10-13 Securaplane Technologies, Inc. System and method for characterizing the health of a rechargeable battery
CN107506275A (en) * 2017-06-21 2017-12-22 西北大学 A kind of software protecting energy consumption evaluation method based on ARM instruction virtualization
CN112150402A (en) * 2019-06-11 2020-12-29 刘素青 Lithium battery state analysis platform
CN112924875A (en) * 2021-01-28 2021-06-08 维沃移动通信有限公司 Battery detection method and device and electronic equipment
CN113933581A (en) * 2021-12-17 2022-01-14 荣耀终端有限公司 Power consumption testing method of mobile equipment and mobile equipment

Also Published As

Publication number Publication date
CN115629952B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN103210395B (en) With the technology that client virtual machine is mutual
US20130205110A1 (en) Storage Device and Method for Selective Data Compression
CN111722877B (en) PCIE configuration identification method and related assembly
WO2021072880A1 (en) Method for asynchronously creating internal snapshot of virtual machine, apparatus, system and storage medium
CN109933504B (en) Hard disk delay test method, device, terminal and storage medium
TW201418979A (en) Method for reading complete kernel log when kernel panic takes place in operating system
CN103064792A (en) Method and device for writing data
US9047176B2 (en) Storage device and method for utilizing unused storage space
CN109558213A (en) The method and apparatus for managing the virtual machine snapshot of OpenStack platform
WO2023092942A1 (en) Data storage method and apparatus, and electronic device and readable storage medium
CN114765051A (en) Memory test method and device, readable storage medium and electronic equipment
CN106445616B (en) Method and device for upgrading terminal equipment from multiple systems to single system
CN108446224B (en) Performance analysis method of application program on mobile terminal and storage medium
CN115408212A (en) System and method for parallel automatic testing of partitioned namespace solid state drives
CN115629952B (en) Android compatible environment battery simulation method based on power consumption fitting analysis
CN114138424B (en) Virtual machine memory snapshot generation method and device and electronic equipment
CN101751283B (en) Virtual machine monitor, dummy machine system and client operation system state acquiring method
CN110008105A (en) A kind of BMC time reservation method, device and electronic equipment and storage medium
CN116561091A (en) Log storage method, device, equipment and readable storage medium
CN112445670A (en) eMMC test method and device
CN115617479A (en) BIOS log storage method and computing equipment
CN109164988A (en) Processor-based virtual machine snapshot method and system
US11068371B2 (en) Method and apparatus for simulating slow storage disk
CN115576484A (en) Data reading and writing method and device, electronic equipment and storage medium
US20180349252A1 (en) Execution of graphic workloads on a simulated hardware environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant