Rewrite of Suterusu's code for new version of GT\OC
DISCLAIMER: I am a crap lua coder. This code may be somewhat longhand and inefficient (but it works!). Feel free to refactor and re-post.
http://pastebin.com/JmFQh4qi
In the new version of GT\OC you need to add up all the cells individually. This code is for a 16 cell buffer, but can be easily modified. (might work as is with a smaller one, I haven't tried)
You will need to put an adapter with an inventory controller on top of your GT Battery buffer. You could put the inventory somewhere else and modify the code to the ne