Data processing system and operating method thereof
A data processing system includes: a host suitable for checking battery state information and determining a battery grade based on the battery state information; and a memory system suitable for storing information indicating the battery grade provided from the host, determining a method of performing a background operation based on the battery grade, and performing the background operation based on the determined method.
1. A data processing system, comprising:
a host suitable for checking battery state information and determining a battery grade based on the battery state information; and
a memory system suitable for storing information indicating the battery grade provided from the host, determining a method of performing a background operation based on the battery grade, and performing the background operation based on the determined method,
wherein the memory system includes a controller suitable for storing the information indicating the battery grade,
wherein the controller includes a processor suitable for determining the method based on the information indicating the battery grade, and
wherein the processor sets an execution frequency corresponding to the battery grade as the number of times that the background operation is performed.
2. The data processing system of claim 1 , wherein the host includes:
a battery suitable for supplying electric power; and
a battery manager suitable for checking the battery state information and determining the battery grade based on the battery state information.
3. The data processing system of claim 1 , wherein the host provides the memory system with the information indicating the battery grade when a booting operation is performed.
4. The data processing system of claim 1 , wherein the host provides the memory system with the information indicating the battery grade when the battery grade is changed.
5. The data processing system of claim 1 , wherein the memory system further includes:
a memory device,
wherein the controller determines the method for performing the background operation based on the information indicating the battery grade, and controls the memory device to perform the background operation according to the determined method.
6. The data processing system of claim 5 , wherein the controller further includes:
a battery information manager suitable for storing the information indicating the battery grade,
wherein the processor controls the memory device to perform the background operation based on the determined method.
7. The data processing system of claim 6 , wherein the processor sets an execution time of the background operation corresponding to the battery grade of the background operation.
8. The data processing system of claim 6 , wherein the battery information manager updates the stored information indicating the battery grade, when an updated battery grade is provided.
9. The data processing system of claim 1 , wherein the background operation includes any of a garbage collection operation, a read reclaim operation, and a wear-leveling operation.
10. The data processing system of claim 1 , wherein the battery state information includes information representing available capacity of the battery.
11. A method for operating a data processing system including a host and a memory system, the method comprising:
checking battery state information;
determining a battery grade based on the battery state information;
determining a method of performing a background operation based on the battery grade; and
performing the background operation based on the determined method,
wherein the determining of the method of performing the background operation based on the battery grade comprises setting an execution frequency corresponding to the battery grade as the number of times that the background operation is performed.
12. The method of claim 11 , wherein the determining of the method of performing the background operation based on the battery grade comprises
setting an execution time corresponding to the battery grade as an execution time of the background operation.
13. The method of claim 11 , further comprising:
providing information indicating the battery grade from the host to the memory system, when a booting operation is performed.
14. The method of claim 11 , further comprising:
providing information indicating the battery grade from the host to the memory system, when the battery grade is changed.
15. The method of claim 11 , further comprising:
storing information indicating the battery grade to a battery information manager in the memory system.
16. A data processing system comprising:
a host, including a battery, suitable for maintaining battery state information including a plurality of levels, each indicative of a capacity of the battery; and
a memory system, including a memory controller, suitable for
receiving the battery state information, including a current capacity grade of the battery, from the host, the plurality of levels being associated with a plurality of methods of performing a background operation respectively,
identifying the method of performing the background operation associated with the current grade of the battery, and
performing the background operation associated with the current grade of the battery,
wherein the memory system includes a controller suitable for storing the information indicating the battery grade,
wherein the controller includes a processor suitable for determining the method based on the information indicating the battery grade, and
wherein the processor sets an execution frequency corresponding to the battery grade as the number of times that the background operation is performed.
17. The data processing system of claim 16 , wherein the memory device reduces an execution time of the background operation when the current grade of battery decreases.
18. The data processing system of claim 16 , wherein the memory device reduces an execution frequency of the background operation when the current grade of battery decreases.