These now check for the presence of the required function instead of checking for the battery file in the enabled directory.