A quick digression on MiniBatteryLogger's history of sessions file management

6 views
Skip to first unread message

Claudio Procida

unread,
Mar 26, 2008, 5:07:54 PM3/26/08
to minibatt...@googlegroups.com
A quick digression on file formats used by MBL:

Until version 1.5, MBL saved sessions collectively under

~/Library/Application Support/MiniBatteryLogger/
InternalBattery-0.savedsessions
~/Library/Application Support/MiniBatteryLogger/
InternalBattery-1.savedsessions
...

being 0, 1 the position of the battery in the system's device tree
(actually, only PowerBook G3 had the possibility to mount more
batteries).

Then, and until version 1.7, MBL saved individual session files under
the folders:

~/Library/Application Support/MiniBatteryLogger/Sessions/0/
~/Library/Application Support/MiniBatteryLogger/Sessions/1/
...

From version 1.7, MBL used as folder name a unique hash identifying
the system, dash, the position in the system's device tree.

~/Library/Application Support/MiniBatteryLogger/
9729a40df6072fbc1f4d48b90b833e58-0/
~/Library/Application Support/MiniBatteryLogger/
9824d8257558510558a8a38929637bbc-0/
...

MBL 1.8.2 is finally able to get the battery's own serial number,
which is used to produce a hash uniquely identifying no longer the
system, but the battery itself.
This has probably caused some trouble since I have got no Intel Mac
to test this new feature, being PPC systems unable to get battery
serials information.

From version 1.8.2, then, folder names under Intel Macs use the new
battery hash in place of the system hash used in the past, and
continues to be used on older PPC systems which do not support the
API to get battery serials.

So if you are experiencing trouble with MiniBatteryLogger 1.8.2 and
have apparently lost your old sessions, despair not. Your beloved
sessions are (probably) still at their place, although you cannot see
them. Open the Finder to the above folders, locate all the
missing .monitoringsessions files and copy them to the appropriate
folders.

--
Claudio Procida
Emeraldion Lodge
http://www.emeraldion.it


Reply all
Reply to author
Forward
0 new messages