Lockscreen mods?

I am trying and failing miserably on lockscreen app, the new one, to make a shape dissappear when not on charge and appear when on charge, iv followed guides for live wallpaper etc, and it doesn't even detect when it's on charge? Help please? It's really confusing me.