Capacitor enablement voltage level adjustment method and apparatus
An apparatus includes logic to determine a discharge drop of a capacitor and to adjust an enablement charge level of the capacitor according to the discharge drop.
1. An apparatus comprising:
a controller;
at least one capacitor; and
at least one of non-transitory machine memory and circuits comprising logic accessible to the controller to:
measure a first voltage of the at least one capacitor prior to beginning use of the at least one capacitor for an operation that uses the at least one capacitor as a power source;
begin the operation, using the at least one capacitor as a power source;
conclude the operation and use of the at least one capacitor as a power source;
measure a second voltage of the at least one capacitor at the conclusion of the operation and conclusion of the use of the at least one capacitor as a power source; and
set an enablement voltage level for the at least one capacitor as a minimum operating voltage level for the at least one capacitor plus a difference between the second voltage and the first voltage, the enablement voltage level being a voltage level the at least one capacitor must charge to before the apparatus enables the at least one capacitor to be used as a power source for a memory backup operation.
2. A hybrid memory module, comprising:
a controller;
a volatile memory;
a non-volatile memory;
at least one capacitor; and
at least one of non-transitory machine memory and circuits comprising logic accessible to the controller to:
measure a first voltage of the at least one capacitor prior to beginning use of the at least one capacitor for an operation that uses the at least one capacitor as a power source;
begin the operation, using the at least one capacitor as a power source;
conclude the operation and use of the at least one capacitor as a power source;
measure a second voltage of the at least one capacitor at the conclusion of the operation and conclusion of the use of the at least one capacitor as a power source; and
set an enablement voltage level for the at least one capacitor for use as a power source to back up contents of the volatile memory to the non-volatile memory, the enablement voltage level set as a minimum operating voltage level for the at least one capacitor plus a difference between the second voltage and the first voltage, the enablement voltage level being a voltage level the at least one capacitor must charge to before the apparatus enables the at least one capacitor to be used as a power source for backing up the contents of the volatile memory to the non-volatile memory.