com.pax.dal.entity

Class BatterySipper

  • java.lang.Object
    • com.pax.dal.entity.BatterySipper
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static byte APP 
      static byte BLUETOOTH 
      static byte CELL 
      static byte FLASHLIGHT 
      static byte PHONE 
      static byte SCREEN 
      static byte WIFI 
    • Constructor Summary

      Constructors 
      Constructor and Description
      BatterySipper() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getPackageName()
      type = APP 时,获取为应用包名,否则为Null
      When type = APP, get the application package name, otherwise Null
      double getPercent()
      获取耗电百分比
      Gets the percentage of power consumed
      int getType()
      double getValue()
      获取耗电量,单位:mAh
      Obtain power consumption, unit :mAh
      void setPackageName(java.lang.String packageName)
      设置应用包名
      Set the application package name
      void setPercent(double percent)
      设置耗电百分比
      Set the percentage of electricity consumed
      void setType(int type)
      设置耗电类型
      Set the power consumption type
      void setValue(double value)
      设置耗电量,单位:mAh
      Set power consumption, unit :mAh
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait