The %?if tags are a recent addition, they will not work with release 2.5 and not even with the last release version which is 3.6. If you want to use them, you need to update to a current build but I'm not aware of someone having tried them on one of these targets yet. You'll probably need to update the rest of the WPSs too as the syntax has changed since and the parser also got stricter.
Release 2.5 is very old, unfortunately the charging screen bugs seems to not have been fixed by now and current builds come with some small issues (the most severe one to me is the crash on early USB, if you plug USB first and then turn the player on but I can work around that + I use an Ondio which doesn't have charging and so I'm guessing a bit on the charging screen issue).
I'm not sure if I can recommend upgrading to you but if you want to use these tags then you have to.