NSString *dat = [self.startDate description];
NSLog(@"dat = %@",dat);
NSArray *array = [dat componentsSeparatedByString:@" "];
array = [[array objectAtIndex:1] componentsSeparatedByString:@":"];
if ([UIDevice currentDevice].batteryState==UIDeviceBatteryStateUnplugged) return;
//"预计充满还需": "时"
UILabel *lab = (UILabel *)[self.battery_img viewWithTag:-101];
lab.text = [array objectAtIndex:0];
fullStateHour = [[array objectAtIndex:0] copy]; //cyy这个地方需要加上copy不然会导致崩溃 因为此处的array相当于autorelease的
//"预计充满还需": "分"
lab = (UILabel *)[self.battery_img viewWithTag:-103];
lab.text = [array objectAtIndex:1];
fullSTateMinute = [[array objectAtIndex:1] copy];