I think "on battery" conditions should be included in main settings, not as profile.
Have a list of the profiles, top of list has higher priority than bottom of list. First profile to have all valid conditions is used.
This is simplest solution, and if you have some conflicts, you can change order/priority to fix that manually and the logic is easy to understand.
The solution by Nintendo Maniac 64 would be too complex and confusing for the end user. He wants CONDITION level priority, but I think PROFILE priority is more easy to understand.
My solution example:
Priority List:
1. ____~ Test____
P4004 ~ File name = test
2. ____~ Anime Battery____
P8008 ~ Laptop is on battery = yes
P1001 ~ File path contains 'anime'
3. ____~ Normal HD Battery____
P1 ~ Source frame area > 0.6
P1 ~ Video frame rate < 33
P8008 ~ Laptop is on battery = yes
4. ____~ Anime____
P1001 ~ File path contains 'anime'
5. ____~ Normal HD____
P1 ~ Source frame area > 0.6
P1 ~ Video frame rate < 33
The above list has no conflicts. Priority by profile, highest priority is at top. SVP check Profile #1, if all conditions valid, stop and use this profile. If any condition invalid, skip this profile and check next profile. This is maybe little complex for novice computer user, but these settings are best for expert users. Novice user can manually select profile