Add instance save/restore for hardware tunables.

Needed to correctly handle e.g. screen rotation.

Change-Id: I6c4ba9aa24c9545037f949a68654428457de46f5