I had Petaya Berry on my Rotom-W and it got down to some hp. Rotom-W ate the berry and got only 1.5 Spa instead of 2. I double checked with my opponents. It seems to be a bug.
Edit: Sorry, I realize my mistake. I misread the information about Petaya's effect a few times. I double cheked now and...