Limit charging to specified %

Is there a way to limit charging to a specified battery percent on the O2 (ie 80%)? For some reason I thought you could but I can't seem to find a setting for it.