Batterie percentage/argon script issues

I have created a mini-tutorial here.