The "ANT+ Plugins Sampler" application source code in the ANT+ Plugins API has an example, but almost every PCC inherits from the "AntPlusCommonPcc" class which has the proper subscription method (subscribeBatteryStatusEvent) to listen for Battery Status (link).