added color method for primitive gadgets, added charging progress