Patent ID: 8095807
Filing Date: 2012-01-10
Classification: G06F

Abstract:
1. A method for power saving and state retention in an electronic device, wherein the electronic device comprises a first circuit having a plurality of electronic components, a second circuit and a memory having a variation table, comprising the steps of: dividing the plurality of electronic components into a plurality of groups; detecting a state variation of the electronic components of each of the groups in the first circuit; recording the state variation of the electronic components of each of the groups in the first circuit to the variation table, wherein the variation table comprises a plurality of flags corresponding to the plurality of groups, and when the state variation happens to the electronic components of any group, determining if a flag value in the variation table corresponding to the group with the state variation is to be changed; selecting a part of the plurality of groups as selected groups according to values of the plurality of flags in the variation table, and making a backup of states of the electronic components of the selected groups; stopping power supply to the first circuit when the backup of the states of the electronic components of the selected groups is completed; restoring power supply to the first circuit; and restoring the states of the electronic components of the selected groups to the states before stopping power supply to the first circuit based on the backup of states of the electronic components.