mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-08 06:31:35 +02:00
30 lines
527 B
Java
30 lines
527 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.model;
|
||
|
|
||
|
public class BatteryConfig {
|
||
|
|
||
|
private final int batteryIndex;
|
||
|
private final int icon;
|
||
|
private final int label;
|
||
|
|
||
|
public BatteryConfig(int batteryIndex, int icon, int label) {
|
||
|
this.batteryIndex = batteryIndex;
|
||
|
this.icon = icon;
|
||
|
this.label = label;
|
||
|
}
|
||
|
|
||
|
public int getBatteryIndex() {
|
||
|
return batteryIndex;
|
||
|
}
|
||
|
|
||
|
public int icon() {
|
||
|
return icon;
|
||
|
}
|
||
|
|
||
|
public int label() {
|
||
|
return label;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|