mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-02-02 04:02:09 +01: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;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|